Parcourir la source

Add more details. Move some of the commands to their own
sections (by module).


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@471 e5f2f494-b856-4b98-b285-d166d9295462

Jeremy C. Reed il y a 15 ans
Parent
commit
8b868a36e4
1 fichiers modifiés avec 59 ajouts et 7 suppressions
  1. 59 7
      src/bin/bigtool/bindctl.1

+ 59 - 7
src/bin/bigtool/bindctl.1

@@ -20,6 +20,7 @@ or via the interactive command interpreter.
 .Pp
 .Pp
 .Nm
 .Nm
 must communicate over a
 must communicate over a
+.Xr msgq 8
 C-Channel
 C-Channel
 connection.
 connection.
 If this connection is not established,
 If this connection is not established,
@@ -28,8 +29,50 @@ will exit.
 .\" TODO: what if msgq is running but no BigTool or Boss groups?
 .\" TODO: what if msgq is running but no BigTool or Boss groups?
 .Pp
 .Pp
 The command-line prompt shows
 The command-line prompt shows
-TODO.
-The following commands are recognized by
+.Dq "\*[Gt] " .
+The options are based on the module in use.
+The command-line usage is:
+.Pp
+.Ic module Ic command Op Ar "param1 = value1" Op Ar ", param2 = value2"
+.Pp
+.Nm Ap s
+interactive interface provides command-line completion and hints.
+Press the
+.Li Tab
+key to get a hint for the module, command, and/or parameters.
+.\" TODO: no hints at a blank line though
+The arrow keys and Emacs-style editing keys may be used to edit
+and recall previous lines.
+.\" TODO:  all Emacs-style editing keys?
+.Pp
+You can use the
+.Ic help
+keyword to receive usage assistance for a module or a module's
+command.
+.Pp
+The following modules are available:
+.Pp
+.Bl -tag -width ".Li ParkingLot" -compact -offset indent
+.\" TODO parkinglot?
+.It Ic boss
+Control BIND 10 services.
+.It Ic config
+Configuration commands.
+.It Ic ParkingLot
+TODO
+.El
+.Sh BOSS COMMANDS
+.Bl -tag -width Ic
+.It Ic help
+Get help for the
+.Em boss
+module.
+.It Ic shutdown Op Ar module_name
+Stop the BIND 10 processes.
+.El
+.Sh CONFIGURATION COMMANDS
+.\" add     commit  go      help    remove  revert  set     show    unset
+The following configuration commands are recognized by
 .Nm :
 .Nm :
 .Bl -tag -width Ic
 .Bl -tag -width Ic
 .It Ic add Ar identifier Ar value
 .It Ic add Ar identifier Ar value
@@ -38,10 +81,12 @@ Add entry to configuration.
 .It Ic commit
 .It Ic commit
 Commit all local changes.
 Commit all local changes.
 TODO: what does this do?
 TODO: what does this do?
-.It Ic config
-TODO
 .It Ic go Ar identifier
 .It Ic go Ar identifier
 Go to the specified configuration. TODO
 Go to the specified configuration. TODO
+.It Ic help
+Get help for the
+.Em config
+module.
 .It Ic remove Ar identifier Ar value
 .It Ic remove Ar identifier Ar value
 Remove entry from configuration.
 Remove entry from configuration.
 .\" TODO: why the value?
 .\" TODO: why the value?
@@ -54,13 +99,20 @@ TODO
 .It Ic show
 .It Ic show
 TODO
 TODO
 Show configuration.
 Show configuration.
-.It Ic shutdown Op Ar module_name TODO
-Stop the BIND 10 processes.
 .It Ic unset Ar identifier
 .It Ic unset Ar identifier
 Unset a configuration value.
 Unset a configuration value.
 TODO
 TODO
 .El
 .El
-.Pp
+.Sh PARKINGLOT COMMANDS
+.Bl -tag -width Ic
+.It Ic help
+Get help for the
+.Em ParkingLot
+module.
+.It Ic print_message Ar string
+Print the given message to stdout.
+.El
+.\"
 .\" TODO: Command arguments which have embedded spaces may be quoted with
 .\" TODO: Command arguments which have embedded spaces may be quoted with
 .\" quote
 .\" quote
 .\" .Sq \&"
 .\" .Sq \&"