Change-Id: Iefb5d539110064e12492dbfeaa8bd6fd76bf2a4b
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
'ex) download/29129249/html/DependsGraph in case of QuickBuild.')
subparsers = parser.add_subparsers(dest='subcommands')
+ #for python3.x, argparser logic is changed, if without the below option, it will not normally exit with error info.
+ subparsers.required = True
preview = subparsers.add_parser('preview', parents=[base])
preview.add_argument('-o', '--output', action='store', dest='output_file', default=None, \
# Create parsers for subcommands
subparsers = parser.add_subparsers(title='subcommands')
+ #for python3.x, argparser logic is changed, if without the below option, it will not normally exit with error info.
+ subparsers.required = True
# collect aliases
aliases = {}