According to canonical documentation, it is possible to declare ‘optional’ arguments that are compulsory. You use the required
named argument of add_argument
:
parser.add_argument('--use-lang', required=True, help="Output language")
According to canonical documentation, it is possible to declare ‘optional’ arguments that are compulsory. You use the required
named argument of add_argument
:
parser.add_argument('--use-lang', required=True, help="Output language")