From cd0eb0fe914b222e4ad23b95a2f323ca4c7e60bc Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 10 Dec 2022 12:11:58 -1000 Subject: [PATCH] ;doc: cli: more standard man page start, more useful first info page And NAME and SYNOPSIS are now included in the web manuals, that's ok. --- hledger/hledger.m4.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index b68f0fbf4..39c35d9c8 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -54,25 +54,26 @@ _web_({{ [Common tasks]* }}) -_man_({{ +_notinfo_({{ # NAME }}) -This is the command-line interface (CLI) for the hledger accounting tool. -Here we also describe hledger's concepts and file formats. -This manual is for hledger _version_. +hledger - robust, friendly plain text accounting (CLI version) -_man_({{ +_notinfo_({{ # SYNOPSIS }}) -`hledger` - -`hledger [-f FILE] COMMAND [OPTIONS] [ARGS]` - -`hledger [-f FILE] ADDONCMD -- [OPTIONS] [ARGS]` +`hledger`\ +`hledger [-f FILE] COMMAND [OPTS] [ARGS]`\ +`hledger [-f FILE] ADDONCMD -- [OPTS] [ARGS]` +_notinfo_({{ # INTRODUCTION +}}) + +This manual is for hledger's command line interface, version _version_. +Here we also describe concepts and file formats common to all hledger programs. m4_dnl Include the standard description: _hledgerdescription_