Skip to content

Commit 4a99c33

Browse files
committed
tools/cli: add short option for host and repos
Signed-off-by: Olivier Hoareau <olivier.hoareau@vates.tech>
1 parent 700d7f1 commit 4a99c33

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/tools/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ def cli():
3030
)
3131
cmd_update_excl_grp = subparser_cmd_update.add_mutually_exclusive_group(required=True)
3232
cmd_update_excl_grp.add_argument(
33-
"--hosts", type=HostAddress, metavar="HOST", nargs="+", help="Hostname(s) or ip address(es) of target(s)"
33+
"-H", "--hosts", type=HostAddress, metavar="HOST", nargs="+", help="Hostname(s) or ip address(es) of target(s)"
3434
)
3535
cmd_update_excl_grp.add_argument("-i", "--inventory", type=Path, help="Use an hosts inventory file")
3636
subparser_cmd_update.add_argument(
37-
"--enablerepo",
37+
"-e", "--enablerepo",
3838
metavar="REPO",
3939
action="append",
4040
dest="repos",

0 commit comments

Comments
 (0)