update
This commit is contained in:
1 parent
a97448f2be
commit
b1df6b7185
1 file changed
+7
-1
+7
-1
@@ -90,7 +90,13 @@ if __name__ == '__main__':
|
||||
parser = argparse.ArgumentParser(
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter
|
||||
)
|
||||
parser.add_argument('known_hosts', type=Path, help='known_hosts file to read')
|
||||
parser.add_argument(
|
||||
'-i',
|
||||
'--known_hosts',
|
||||
type=Path,
|
||||
default=f"{os.path.expanduser('~')}/.ssh/known_hosts",
|
||||
help='known_hosts file to read',
|
||||
)
|
||||
parser.add_argument('-o', '--output', type=Path, help='output file to write')
|
||||
parser.set_defaults(func=main)
|
||||
args = parser.parse_args()
|
||||
|
||||
Reference in new issue
Block a user