]> diplodocus.org Git - nmh/commitdiff
In whatnow help, don't show that detached can be abbreviated
authorDavid Levine <levinedl@acm.org>
Sun, 5 Jan 2014 14:28:58 +0000 (08:28 -0600)
committerDavid Levine <levinedl@acm.org>
Sun, 5 Jan 2014 14:28:58 +0000 (08:28 -0600)
with "de", because that conflicts with "delete".

uip/whatnowsbr.c

index 03f3e054ab1b05b244c46d567c675fca331d8d1c..c053be17949deb54491228a845113e28b4c1b39c 100644 (file)
@@ -81,7 +81,7 @@ DEFINE_SWITCH_ARRAY(WHATNOW, whatnowswitches);
     X("pwd", 0, PWDCMDSW) \
     X("ls", 2, LSCMDSW) \
     X("attach", 0, ATTACHCMDSW) \
-    X("detach [-n]", 2, DETACHCMDSW) \
+    X("detach [-n]", 0, DETACHCMDSW) \
     X("alist [-ln] ", 2, ALISTCMDSW) \
 
 #define X(sw, minchars, id) id,