commit 35e13666096ac3d48031222e663c868c835f1209 Tom Schwindl <schwindl@posteo.de> 2023-08-01 11:52:22 +0200 bm: fix help() error message printf(1) ouputs "printf: Illegal option -h". Thus, replace it wiht echo(1) to avoid such inconviences.
bm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bm b/bm index 4b149e3..edafe1d 100755 --- a/bm +++ b/bm @@ -12,7 +12,7 @@ DMENULINES=15 help () { echo "Call without an argument to be prompted with dmenu." echo "Flags:" - printf "-h, --help\n-c, --copy\n-a, --add\n-e, --edit\n" + echo '-h, --help\n-c, --copy\n-a, --add\n-e, --edit' } copy () {