/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#include "svccfg.h"
#include "svccfg_grammar.h"
{ SCC_VALIDATE, "validate [file | fmri]\n\n"
"Validate a manifest file without changing the repository.\n"
"Validate an instance FMRI against the template specifications."
},
{ SCC_IMPORT, "import [-p outfile] [-V] paths...\n\n"
"Import manifests into the repository. paths can be one or more\n"
"manifest files or directories. If directories are specified, they\n"
"will be searched for files with a .xml extension. If -p is specified,\n"
"a progress message will be written to outfile as each manifest is\n"
"imported. With -V force strict adherence to the template specifications."
},
{ SCC_EXPORT, "export [-a] {service | pattern} [> file]\n\n"
"Print a manifest for service to file, or standard output if not specified."
},
{ SCC_ARCHIVE, "archive [-a] [> file]\n\n"
"Print an archive to file, or standard output if not specified."
},
{ SCC_RESTORE, "restore file\n\n"
"Restore the contents of a previously-generated archive."
},
{ SCC_APPLY, "apply file\n\nApply a profile." },
{ SCC_EXTRACT, "extract [> file]\n\n"
"Print a profile to file, or standard output if not specified." },
{ SCC_REPOSITORY, "repository file\n\nSet the repository to modify." },
{ SCC_INVENTORY, "inventory file\n\n"
"Print the services and instances contained in a manifest."
},
{ SCC_SET, "set [-vV]\n\n"
"Without arguments, display current options. Otherwise set the given options."
},
{ SCC_END, "end\n\nStop processing and exit." },
{ SCC_HELP, "help [command]\n\nDisplay help." },
{ SCC_LIST, "list [glob_pattern]\n\n"
"List children of the currently selected entity."
},
{ SCC_ADD, "add name\n\n"
"Add a new child entity to the currently selected entity."
},
{ SCC_DELETE, "delete [-f] {name | fmri | pattern}\n\n"
"Delete the named child entity or the one indicated by fmri. With -f, delete\n"
"running services.\n"
},
{ SCC_SELECT, "select {name | fmri | pattern}\n\n"
"Select the named child entity or the one indicated by fmri."
},
{ SCC_UNSELECT, "unselect\n\n"
"Select the parent of the currently selected entity."
},
{ SCC_LISTPG, "listpg [glob_pattern]\n\n"
"List property groups of the currently selected entity."
},
{ SCC_ADDPG, "addpg name type [P]\n\n"
"Add a new property group to the currently selected entity."
},
{ SCC_DELPG, "delpg name\n\n"
"Delete the named property group from the currently selected entity."
},
{ SCC_DELHASH, "delhash [-d] manifest\n\n"
"With -d, manifest file doesn't need to exist."
},
{ SCC_CLEANUP, "cleanup\n\n"
"Cleanup any service or instances that no longer have manifest files that\n"
},
{ SCC_LISTPROP, "listprop [glob_pattern]\n\n"
"List property groups and properties of the currently selected entity."
},
{ SCC_SETPROP,
"enclosed in double-quotes. Value lists may span multiple lines."
},
{ SCC_DELPROP, "delprop pg/name\n\n"
},
{ SCC_EDITPROP, "editprop\n\n"
"Invoke $EDITOR to edit the properties of the currently selected entity."
},
{ SCC_DESCRIBE, "describe [-v] [-t] [propertygroup/property]\n\n"
"Describe the current properties. With -v, describe verbosely. With -t,\n"
"show only template data, not current properties."
},
{ SCC_ADDPROPVALUE, "addpropvalue pg/name [type:] value\n\n"
"Add the given value to the named property."
},
{ SCC_DELPROPVALUE, "delpropvalue pg/name glob_pattern\n\n"
"Delete all values matching the glob pattern fron the given property."
},
{ SCC_SETENV, "setenv [-s | -i | -m method] NAME value\n\n"
"Set an environment variable for the given service, instance, or method "
"context."
},
{ SCC_UNSETENV, "unsetenv [-s | -i | -m method] NAME value\n\n"
"Unset an environment variable for the given service, instance, or method "
"context."
},
{ SCC_LISTSNAP, "listsnap\n\n"
"List snapshots of the currently selected instance."
},
{ SCC_SELECTSNAP, "selectsnap [snapshot]\n\n"
"Select a snapshot of the currently selected instance, or the Editing\n"
"snapshot by default."
},
{ SCC_REVERT, "revert [snapshot]\n\n"
"Change the properties of the currently selected instance and its ancestors\n"
"to those in a snapshot, or the currently selected snapshot by default."
},
{ SCC_REFRESH, "refresh\n\n"
"Commit the values from the current configuration to the running\n"
"snapshot, making them available for use by the currently selected\n"
"instance. If the repository subcommand has not been used to select\n"
"a repository, inform the instance's restarter to re-read the updated\n"
"configuration."
},
{ SCC_DELNOTIFY, "delnotify <[-g] tset | class>\n\n"
"Delete the existing notification parameters for the specified class or\n"
"transition set. If the -g option is used, the notification parameters in\n"
},
{ SCC_LISTNOTIFY, "listnotify <[-g] tset | class>\n\n"
"Display the existing notification parameters for the specified class or\n"
"transition set. If the -g option is used, the notification parameters in\n"
},
"setnotify {[-g] tset | class} <notification parameters> ...\n\n"
"Set notification parameters for the specified class or transition set.\n"
"If the -g option is used, the notification parameters are set in\n"
"This command overwrites existing notification parameters."
},
{ 0, NULL }
};