nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nmh-workers] full switch names


From: David Levine
Subject: [Nmh-workers] full switch names
Date: Sat, 01 Mar 2014 12:05:40 -0600

Norm wrote:

> By the way, is there some admonition anywhere advising mh
> script writers to always use the full name of switches,
> lest later versions of nmh create an ambiguity? Maybe it's
> in Peek somewhere?

How about this addition to the nmh(7) man page?  It
currently doesn't have an introduction to switches.

  nmh command arguments are usually called switches.  Some
  switches have a corresponding “-no” switch, which negates all
  previous occurrences of that switch on the command line.  This
  allows a user to conveniently override, on the command line, a
  switch in their profile.  Switches may be abbreviated as long
  as there is no ambiguity with another switch of the same
  command.  To avoid ambiguity with any switches that may be
  added in the future, it is recommended that full switch names
  be used in permanent code such as shell scripts, functions,
  and aliases.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]