Futilities/human/options

From Woozle Writes Code
< Futilities‎ | human
Revision as of 13:48, 20 October 2022 by Woozle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Human Futilities (HF): command options

The library supports options with either a single dash or double-dashes. There is no length-limitation on either, but by convention short-dash options are two letters and cannot be combined within a single dash (e.g. you can't combine -aa and -bb as -aabb) although this could conceivably be supported later for options that don't need a value.

There are also a number of options that apply to more than one HF app:

  • base: common to all (so far)
  • spider: common to all apps that do spidering

Options are managed by the caOptsBase class and its descendants.