英文: Ensuring a single colon at start of string 问题 我正在使用getopts来解析选项。我想确保optstring在开头只有一个冒号,如果不存在,我想引...
Shifting positional arguments after call to getopts
英文: Shifting positional arguments after call to getopts 问题 Getopts使用OPTIND来存储位置参数的编号。接下来的做法是将位置参数进行如...
User specified errors with getopts colon feature
英文: User specified errors with getopts colon feature 问题 I want the ability to specify whether to use...