Allow whatnow to accept "l" as an abbreviation for "list", instead of
authorDavid Levine <levinedl@acm.org>
Sat, 15 Sep 2012 13:24:37 +0000 (08:24 -0500)
committerDavid Levine <levinedl@acm.org>
Sat, 15 Sep 2012 13:24:37 +0000 (08:24 -0500)
requiring at lest "li".

uip/whatnowsbr.c

index 121a79b..c370a99 100644 (file)
@@ -97,7 +97,7 @@ static struct swit aleqs[] = {
 #define        PWDCMDSW                      11
     { "pwd", 0 },
 #define        LSCMDSW                       12
-    { "ls", 0 },
+    { "ls", 2 },
 #define        ATTACHCMDSW                   13
     { "attach", 0 },
 #define        DETACHCMDSW                   14