Futilities/human/options: Difference between revisions
< Futilities | human
Jump to navigation
Jump to search
(Created page with "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 cann...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{fmt/title|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 <code>-aa</code> and <code>-bb</code> as <code>-aabb</code>) although this could conceivably be supported later for options that don't need a value. | 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 <code>-aa</code> and <code>-bb</code> as <code>-aabb</code>) although this could conceivably be supported later for options that don't need a value. | ||
There are also | There are also a number of options that apply to more than one HF app: | ||
* {{l/sub|base}}: common to all (so far) | |||
* {{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:
Options are managed by the caOptsBase class and its descendants.