From a276e57e944989d06c60ca57e55f21a0fde0111a Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Fri, 6 May 2022 12:37:35 +0100 Subject: [PATCH] update readme --- README.MD | 2 +- command_wrapper.nim | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.MD b/README.MD index aca0834..0607e5f 100644 --- a/README.MD +++ b/README.MD @@ -20,7 +20,7 @@ The next two do not work with `rofi` unless you have `alias dmenu=rofi` set, but - `passmenu_wrapper` a wrapper for passmenu. It basically just styles `passmenu` with no other features - `command_wrapper` inspired by passmenu_wrapper, a basic tool to run other `dmenu` related tools with uniform styling - + - for example: `dmenu_run`, `clipmenu`, `passmenu` etc. ### Example in `dmenu`: ![dmenu_tools](https://user-images.githubusercontent.com/31094984/167123173-ee8092a2-d5ab-47b4-b207-ced328072cc0.gif) diff --git a/command_wrapper.nim b/command_wrapper.nim index 09da560..3c76c15 100644 --- a/command_wrapper.nim +++ b/command_wrapper.nim @@ -14,9 +14,9 @@ if isMainModule: case arg: of "-r", "--run": run_command = args[idx + 1] - else: - echo "No run tag given. Please run again with '--run _cmd_'" break + else: + echo "No command given, please run again with `[-r|--run] __cmd__`" if run_command != "": main()