Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [RFC/PATCH] notes: rework subcommands and parse options

From: Tim Henigan <hidden>
Date: 2016-06-15 22:48:21

On Thu, Feb 25, 2010 at 3:24 AM, Stephen Boyd [off-list ref] wrote:
+       else {
+               result = error("Unknown subcommand: %s", argv[0]);
+       }
In the case where an unknown subcommand was given, shouldn't the usage
instructions be printed?  i.e. add the following after the error()?

    usage_with_options(git_notes_usage, options);

-Tim
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help