]> git.tuebingen.mpg.de Git - dss.git/blobdiff - dss.suite.m4
Merge topic branch t/com_help into pu
[dss.git] / dss.suite.m4
index 27437f443563c8ea146f7732a9c700bdabad4392..3fe3122b6b619bcfa600a4ce61ab31b292f4415a 100644 (file)
@@ -526,9 +526,25 @@ caption = Subcommands
                exits successfully or prints information about the first syntax error
                detected and terminates with exit code 1.
        [/description]
+[subcommand help]
+       purpose = list available subcommands or print subcommand-specific help
+       non-opts-name = [subcommand]
+       [description]
+               If the optional subcommand argument is given, the help text of that
+               subcommand is shown. Without the argument the available subcommands
+               are listed instead.
+       [/description]
+       [option long]
+               short_opt = l
+               summary = show the long help text of a subcommand
+               [help]
+                       If this option is given, the command also shows the description of
+                       the subcommand and the help text of each option, Otherwise only the
+                       purpose, the synopsis and the option list of the subcommand is shown.
+                       If no subcommand is supplied, the option has no effect.
+               [/help]
 
 [section examples]
-
        Suppose you'd like to create snapshots of the existing directory
        .I /foo/bar
        in the directory