1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-29 03:06:15 +01:00

--apiurl can be an alias

This commit is contained in:
Marcus Hüwe 2009-03-31 13:29:16 +00:00
parent 9ff9a1f151
commit d6c9693a47

View File

@ -54,8 +54,8 @@ class Osc(cmdln.Cmdln):
optparser.add_option('-d', '--debug', action='store_true', optparser.add_option('-d', '--debug', action='store_true',
help='print info useful for debugging') help='print info useful for debugging')
optparser.add_option('-A', '--apiurl', dest='apiurl', optparser.add_option('-A', '--apiurl', dest='apiurl',
metavar='URL', metavar='URL/alias',
help='specify URL to access API server at') help='specify URL to access API server at or an alias')
optparser.add_option('-c', '--config', dest='conffile', optparser.add_option('-c', '--config', dest='conffile',
metavar='FILE', metavar='FILE',
help='specify alternate configuration file') help='specify alternate configuration file')