From 54de004ede39c963b040e6be3c70b406b9185276 Mon Sep 17 00:00:00 2001 From: Michael Kuc Date: Thu, 19 Sep 2019 14:21:47 +0100 Subject: [PATCH] Amended specification. --- Specification.md | 17 +++++++++++++++++ examples/true/true.argspec | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 Specification.md diff --git a/Specification.md b/Specification.md new file mode 100644 index 0000000..4d4e835 --- /dev/null +++ b/Specification.md @@ -0,0 +1,17 @@ +Program: + +program *program name here* +version "*version information here*" +help "*help information here*" + +Usage: + +*program name* *(optional argument list)* +*program name* **alternative form** *(optional argument list)* +*...* + +Arguments: + +*some grammar for composite arguments* + +*--longform*, *(optional shortform)*, *(optional arguments)*, *description* diff --git a/examples/true/true.argspec b/examples/true/true.argspec index 9ea7187..fe1cfb4 100644 --- a/examples/true/true.argspec +++ b/examples/true/true.argspec @@ -1,6 +1,6 @@ Program: -true +program true version "true (GNU coreutils) 8.31" license "Copyright (C) 2019 Free Software Foundation, Inc." help "NOTE: your shell may have its own version of true, which usually supersedes the version described here."