Code

when listing verbs, use description when available, remove superfluous quotes
authorbuliabyak <buliabyak@users.sourceforge.net>
Thu, 1 Mar 2007 16:23:52 +0000 (16:23 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Thu, 1 Mar 2007 16:23:52 +0000 (16:23 +0000)
src/verbs.cpp

index 1627f42bf261955ab32f0e63f394621d55c89f7e..25c805c3c30a62490d16c10183170dafbf77def0 100644 (file)
@@ -2415,7 +2415,7 @@ Verb::list (void) {
             continue;
         }
 
-        printf("\"%s\", \"%s\"\n", verb->get_id(), verb->get_name());
+        printf("%s: %s\n", verb->get_id(), verb->get_tip()? verb->get_tip() : verb->get_name());
     }
 
     return;