summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
ae9f2f4)
This was Andys suggestion previously
it makes sense.
Issue-Id: RELENG-3036
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I106737c6c766fb566a2e0e74436f5bb5da36eac5
parser.add_argument('--path', type=dir_path,
help="Path to jenkins-admin directory")
parser.add_argument('--path', type=dir_path,
help="Path to jenkins-admin directory")
- parser.add_argument('--sandbox', type=bool, default=False,
- help="Set to True for sandbox yaml generation")
+
+ parser.add_argument(
+ "-s", "--sandbox",
+ help = "Is configuration being created for a sandbox",
+ dest = "sandbox", action = "store_true"
+ )
+
return parser.parse_args()
parsed_args = parse_arguments()
return parser.parse_args()
parsed_args = parse_arguments()
description='Create jcasc yaml from path to jenkins config dir.')
parser.add_argument('--path', type=dir_path,
help="Path to jenkins-admin directory")
description='Create jcasc yaml from path to jenkins config dir.')
parser.add_argument('--path', type=dir_path,
help="Path to jenkins-admin directory")
- parser.add_argument('--sandbox', type=bool, default=False,
- help="Set to True for sandbox yaml generation")
+ parser.add_argument(
+ "-s", "--sandbox",
+ help="Is configuration being created for a sandbox",
+ dest="sandbox", action = "store_true"
+ )
parser.add_argument(
"--outputvars",
type=argparse.FileType("w"),
parser.add_argument(
"--outputvars",
type=argparse.FileType("w"),