Line 218... |
Line 218... |
218 |
}
|
218 |
}
|
219 |
|
219 |
|
220 |
sub help {
|
220 |
sub help {
|
221 |
print "$0 version $VERSION\n";
|
221 |
print "$0 version $VERSION\n";
|
222 |
print "Reads one or more sysinfo configuration file and\nallows user to edit the values\n\n";
|
222 |
print "Reads one or more sysinfo configuration file and\nallows user to edit the values\n\n";
|
223 |
print "$0 --verbose --file=/full/paht/to/input -output=/full/path/to/sysinfo-client.yaml\n";
|
223 |
print "$0 --verbose --file=/full/path/to/input -output=/full/path/to/sysinfo-client.yaml\n";
|
224 |
print " --verbose may be entered more than one time to increase verbosity\n";
|
224 |
print " --verbose - may be entered more than one time to increase verbosity\n";
|
225 |
print " --file may be entered multiple times and may contain a comma delimited group of files\n";
|
225 |
print " --file - may be entered multiple times and may contain a comma delimited group of files\n";
|
226 |
print " --output is the file which will be written to\n\n";
|
226 |
print " --output - file which will be written to\n\n";
|
- |
|
227 |
print " --test - test the config file and report errors\n";
|
- |
|
228 |
print " --dryrun - do not save result\n";
|
- |
|
229 |
print " --quiet - do not ask any questions, automatically check, repair and write to output\n";
|
- |
|
230 |
print " --help - display this help screen\n\n";
|
- |
|
231 |
|
227 |
print "All parameters are optional\n";
|
232 |
print "All parameters are optional\n";
|
228 |
print "Will search common locations for sysinfo-client.yaml and, if found, append this to the end\n";
|
233 |
print "Will search common locations for sysinfo-client.yaml and, if found, append this to the end\n";
|
229 |
print "of the input file list.\n";
|
234 |
print "of the input file list.\n";
|
230 |
print "If no --output is passed, will write to the last --file passed or the file which was found\n";
|
235 |
print "If no --output is passed, will write to the last --file passed or the file which was found\n";
|
231 |
print "in the search\n";
|
236 |
print "in the search\n";
|