diff options
author | Wolfgang Müller | 2024-10-26 20:59:35 +0200 |
---|---|---|
committer | Wolfgang Müller | 2024-11-06 21:29:59 +0100 |
commit | ec4750b5e2f801fec7e1100299114483d4a04f4e (patch) | |
tree | 6f4f36d43f25ae69c022aa1bf1ac08cf3a2fae48 /src | |
parent | 9e7ede5afcbc99a3670ee8232ecfbce79da0dde8 (diff) | |
download | later-ec4750b5e2f801fec7e1100299114483d4a04f4e.tar.gz |
Use getopt-based parser for command-line arguments
Upcoming commits will want to make use of bespoke argument handling
alongside subcommands and using Python's argparse proved unable to
easily handle that kind of complexity. Therefore switch to the more
basic getopt-based parser with which we can implement our own logic.
Without argparse we're no longer bound to having an autogenerated help
listing, so stop mentioning that in the manual. Instead have later(1)
output a concise usage listing when given an unknown argument.
Since we'll be adding more commands to later(1) in the future, also
specify an explicit "list" command.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions