Futilities/human/options: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 5: Line 5:
* {{l/sub|base}}: common to all (so far)
* {{l/sub|base}}: common to all (so far)
* {{l/sub|spider}}: common to all apps that do spidering
* {{l/sub|spider}}: common to all apps that do spidering
Options are managed by the {{l/hf/class|caOptsBase}} class and its descendants.

Latest revision as of 13:48, 20 October 2022

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.