commit 65c4c0e
hovercats
·
2024-11-26 21:32:46 +0000 UTC
parent 1b77d48
dm: remove usage function
1 files changed,
+2,
-5
M
rc/dm
M
rc/dm
+2,
-5
1@@ -12,10 +12,6 @@ fn list {
2 exit 0
3 }
4
5-fn usage {
6- printf 'dm [-hl] <alias> [command]\n'
7-}
8-
9 test -d $sockdir || mkdir -p $sockdir
10
11 if (~ $1 -l || ~ $1 -h) {
12@@ -23,7 +19,8 @@ if (~ $1 -l || ~ $1 -h) {
13 case -l
14 list
15 case -h
16- usage && exit 0
17+ printf 'dm [-hl] <alias> [command]\n'
18+ exit 0
19 }
20 }
21