nvda
db6458a5 - Added short version for most commonly used command line options (#17486)

Commit
1 year ago
Added short version for most commonly used command line options (#17486) Fixes #11644 Fixes #17485 Summary of the issue: Most common command line options need a short version. Command line options is not robust, leading to undesirable effects when restarting NVDA Description of user facing changes Short versions of two command line flags have been added: -d for --disable-addons and -n for --lang Using incomplete command line flags or duplicated command line options should not produce unexpected effects when restarting NVDA. Description of development approach Added new flags Check parsed app args rather than raw sys.argv to know the options that NVDA has actually taken into account. Removed languageHandler.getLanguageCliArgs since we do not use this function anymore and it was not correctly working as expected for some corner case (duplicated flag, incomplete flag)
Author
Parents
Loading