Skip to content

Commit

Permalink
Merge pull request #18 from praiskup/cli-net-off-by-default
Browse files Browse the repository at this point in the history
[cli] disable network by default when creating new copr
  • Loading branch information
clime committed Oct 5, 2016
2 parents 2845e2d + 55ae588 commit b9318b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/copr_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,8 @@ def setup_parser():
help="Instructions for the copr")
parser_create.add_argument("--disable_createrepo",
help="Disable metadata auto generation")
parser_create.add_argument("--enable-net", choices=["on", "off"], default="on",
help="If net should be enabled for builds in this project (default is on)")
parser_create.add_argument("--enable-net", choices=["on", "off"], default="off",
help="If net should be enabled for builds in this project (default is off)")
parser_create.add_argument("--unlisted-on-hp", choices=["on", "off"],
help="The project will not be shown on COPR home page")
parser_create.add_argument("--persistent", action="store_true",
Expand All @@ -564,7 +564,7 @@ def setup_parser():
parser_modify.add_argument("--disable_createrepo",
help="Disable metadata auto generation")
parser_modify.add_argument("--enable-net", choices=["on", "off"],
help="If net should be enabled for builds in this project (default is on)")
help="If net should be enabled for builds in this project (default is \"don't change\")")
parser_modify.add_argument("--unlisted-on-hp", choices=["on", "off"],
help="The project will not be shown on COPR home page")
parser_modify.set_defaults(func="action_modify_project")
Expand Down

0 comments on commit b9318b9

Please sign in to comment.