Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Code comment updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
chambridge committed Aug 30, 2017
1 parent 4919c83 commit 96993d3
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 6 deletions.
23 changes: 22 additions & 1 deletion doc/rho.1
Expand Up @@ -337,10 +337,17 @@ and
.B rho fact redact
.B --reportfile=
.I file
.B [--outputfile=
.I path
.B ]
.PP
.TP
--reportfile=file
The path and filename of the comma-separated values (CSV) file to alter.
The path and filename of the comma-separated values (CSV) file to read from.
.PP
.TP
--outputfile=path
The path and filename of the comma-separated values (CSV) file to be written.
.PP
.B
Encrypting Facts
Expand All @@ -353,11 +360,18 @@ and
.B rho fact encrypt
.B --reportfile=
.I file
.B [--outputfile=
.I path
.B ]
.PP
.TP
--reportfile=file
The path and filename of the comma-separated values (CSV) file to alter.
.PP
.TP
--outputfile=path
The path and filename of the comma-separated values (CSV) file to be written.
.PP
.B
Decrypting Facts
.PP
Expand All @@ -369,11 +383,18 @@ and
.B rho fact decrypt
.B --reportfile=
.I file
.B [--outputfile=
.I path
.B ]
.PP
.TP
--reportfile=file
The path and filename of the comma-separated values (CSV) file to alter.
.PP
.TP
--outputfile=path
The path and filename of the comma-separated values (CSV) file to be written.
.PP
.PP
.SS SCANNING
The 'scan' command is the one that actually runs discovery on the network. This command scans all of the servers within the range, and then writes the information to a CSV file.
Expand Down
2 changes: 1 addition & 1 deletion rho/factdecryptcommand.py
Expand Up @@ -43,7 +43,7 @@ def __init__(self):
action="callback", callback=multi_arg,
default=[], help=SUPPRESS_HELP)

self.parser.add_option("--decrypted-path", dest="decrypted_path",
self.parser.add_option("--outputfile", dest="decrypted_path",
metavar="DECRYPTEDPATH",
help=_("Location for the decrypted file"))

Expand Down
4 changes: 2 additions & 2 deletions rho/factencryptcommand.py
Expand Up @@ -43,9 +43,9 @@ def __init__(self):
action="callback", callback=multi_arg,
default=[], help=SUPPRESS_HELP)

self.parser.add_option("--encrypted-path", dest="encrypted_path",
self.parser.add_option("--outputfile", dest="encrypted_path",
metavar="ENCRYPTEDPATH",
help=_("Destination for the encrypted file"),
help=_("Location for the encrypted file"),
default=None)

self.facts_to_encrypt = None
Expand Down
4 changes: 2 additions & 2 deletions rho/factredactcommand.py
Expand Up @@ -42,9 +42,9 @@ def __init__(self):
action="callback", callback=multi_arg,
default=[], help=SUPPRESS_HELP)

self.parser.add_option("--redacted-path", dest="redacted_path",
self.parser.add_option("--outputfile", dest="redacted_path",
metavar="REDACTEDPATH",
help=_("Path to write the redacted report to"))
help=_("Location for the redacted file"))

self.facts_to_redact = None

Expand Down

0 comments on commit 96993d3

Please sign in to comment.