[root@salt01 salt]#salt -h
Usage: salt [options]'<target>' <function> [arguments]Options:--version show program's version number andexit--versions-report show program's dependencies version numberand exit-h, --help show this help message and exit--saltfile=SALTFILE Specify the path to a Saltfile. If notpassed, onewill be searched for inthe current working directory-c CONFIG_DIR, --config-dir=CONFIG_DIRPass in an alternativeconfiguration directory.Default: /etc/salt-t TIMEOUT, --timeout=TIMEOUTChange the timeout, ifapplicable, for the runningcommand; default=5--hard-crash Raise any original exception ratherthan exitinggracefully Default:False-s, --static Return the data from minions as agroup after they allreturn.-p, --progress Display a progress graph. [Requires`progressbar`python package.]#以下省略N多行
2、minion端-->salt-call帮助查看
[root@salt02 home]# salt-call-h
Usage: salt-call [options]<function> [arguments]Salt call is used to executemodule functions locally on a minionOptions:--version show program's versionnumber and exit--versions-report show program's dependencies version numberand exit-h, --help show this help message and exit--saltfile=SALTFILE Specify the path to a Saltfile. If notpassed, onewill be searched for inthe current working directory-c CONFIG_DIR, --config-dir=CONFIG_DIRPass in an alternativeconfiguration directory.Default: /etc/salt--hard-crash Raise any original exception ratherthan exitinggracefully Default:False-g, --grains Return the information generated bythe salt grains-m MODULE_DIRS, --module-dirs=MODULE_DIRSSpecify an additionaldirectory to pull modules from.Multiple directoriescan be provided by passing `-m/--module-dirs`multiple times.-d, --doc, --documentationReturn thedocumentation for the specified module orfor all modules if noneare specified.--master=MASTER Specify the master to use. The minionmust beauthenticated with themaster. If this option isomitted, the masteroptions from the minion configwill be used. If multimasters are set up the first
#以下省略N多行