diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-09-08 20:54:35 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-09-08 20:54:35 -0400 |
commit | 9485b1b08edbcd61d0a77fe2c8d85ada57b646ef (patch) | |
tree | 1c58e6788238ad88f5d2cb712d26cc3bce686c33 | |
parent | 3f26995bf3f43c7fa091856d6c841439742ba19d (diff) | |
download | rpmbuild-remote-9485b1b08edbcd61d0a77fe2c8d85ada57b646ef.tar.gz rpmbuild-remote-9485b1b08edbcd61d0a77fe2c8d85ada57b646ef.tar.xz rpmbuild-remote-9485b1b08edbcd61d0a77fe2c8d85ada57b646ef.zip |
Add a default to the ssh-key option
-rw-r--r-- | rpmbuild-remote.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py index f8cd500..6142861 100644 --- a/rpmbuild-remote.py +++ b/rpmbuild-remote.py @@ -35,7 +35,9 @@ def get_parser(): help="The remote machine to use (defined in config file)") parser.add_option("-k", "--ssh-key", action="store", type="string", dest="ssh_key", - help="The private SSH key to use to login") + default=os.path.join(home, ".ssh/id_rsa") + help="The private SSH key to use to login. " + "[Default: ~/.ssh/id_rsa]") parser.add_option("-u", "--user", action="store", type="string", dest="user", default=os.getlogin(), |