Command line options: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 34: Line 34:
Options that act like an enable/disable switch take optional values as <code>true</code>, <code>1</code>, <code>yes</code> (enable) or <code>false</code>, <code>0</code>, <code>no</code> (disable). If we don't specify any value next to such an option, it will work by default as if we passed <code>true</code>, <code>1</code> or <code>yes</code>, i.e. enabled it, e.g:
Options that act like an enable/disable switch take optional values as <code>true</code>, <code>1</code>, <code>yes</code> (enable) or <code>false</code>, <code>0</code>, <code>no</code> (disable). If we don't specify any value next to such an option, it will work by default as if we passed <code>true</code>, <code>1</code> or <code>yes</code>, i.e. enabled it, e.g:


     --lanucher
     --launcher


will enable Launcher, which is equivalent to:
will enable Launcher, which is equivalent to:


     --lanucher=yes
     --launcher=yes


On the other hand, we can also pass a value that disables the option, e.g.:
On the other hand, we can also pass a value that disables the option, e.g.:


     --lanucher=no
     --launcher=no


which will cause Launcher not to be launched. In addition, most of such options have two additional versions without a value, but preceded by the prefix <code>enable-</code> and <code>disable-</code>, e.g.:
which will cause Launcher not to be launched. In addition, most of such options have two additional versions without a value, but preceded by the prefix <code>enable-</code> and <code>disable-</code>, e.g.:


     --enable-lanucher
     --enable-launcher


will also enable Launcher.
will also enable Launcher.
1,089

edits

Navigation menu