aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorWolfgang Müller2024-10-26 20:59:35 +0200
committerWolfgang Müller2024-11-06 21:29:59 +0100
commitec4750b5e2f801fec7e1100299114483d4a04f4e (patch)
tree6f4f36d43f25ae69c022aa1bf1ac08cf3a2fae48 /src
parent9e7ede5afcbc99a3670ee8232ecfbce79da0dde8 (diff)
downloadlater-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