linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Move the infor for the help/man page in the source
@ 2011-07-19 16:11 Goffredo Baroncelli
  2011-07-19 16:11 ` [PATCH 1/6] Add info for the commands Goffredo Baroncelli
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Goffredo Baroncelli @ 2011-07-19 16:11 UTC (permalink / raw)
  To: linux-btrfs

The following series implement a way to generate the help messages and
the btrfs man page from the sources comments for the "btrfs" commanda
.
The syntax and the detailed help of every subcommand are stored in
the comments before the function which implements the subcommand.

The fact that the help messages and the man page are generated from the 
same source should help to avoid incoherencies and mistakes.
Moreover tha fact that the source and the help are strictly linked
helps to avoid man page/help outdated.

You can pull the changes from 

You can download the source from
	http://cassiopea.homelinux.net/git/btrfs-progs-unstable.git

	branch extended-help

and/or browse the code at
	http://cassiopea.homelinux.net/git/?p=btrfs-progs-unstable.git

BR
G.Baroncelli

---

Goffredo Baroncelli (6):
      Add info for the commands.
      Add the header/footer/introduction of the man page.
      helpextract: tool to extract the info for the help from the source.
      Update the makefile for generating the man page.
      Show the help messages from the info in the comment.
      Update the makefile for generating the help messages.


 Makefile           |   28 +++
 btrfs.c            |  210 +++++++++++++++++++++++++
 btrfs_cmds.c       |  276 +++++++++++++++++++++++++++++++++
 helpextract.c      |  435 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 man/btrfs.8.in     |  359 -------------------------------------------
 man/btrfs.8.in.old |  359 +++++++++++++++++++++++++++++++++++++++++++
 scrub.c            |   79 +++++++++
 7 files changed, 1380 insertions(+), 366 deletions(-)
 create mode 100644 helpextract.c
 delete mode 100644 man/btrfs.8.in
 create mode 100644 man/btrfs.8.in.old


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-07-19 16:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-19 16:11 [PATCH 0/6] Move the infor for the help/man page in the source Goffredo Baroncelli
2011-07-19 16:11 ` [PATCH 1/6] Add info for the commands Goffredo Baroncelli
2011-07-19 16:12 ` [PATCH 2/6] Add the header/footer/introduction of the man page Goffredo Baroncelli
2011-07-19 16:12 ` [PATCH 3/6] helpextract: tool to extract the info for the help from the source Goffredo Baroncelli
2011-07-19 16:12 ` [PATCH 4/6] Update the makefile for generating the man page Goffredo Baroncelli
2011-07-19 16:12 ` [PATCH 5/6] Show the help messages from the info in the comment Goffredo Baroncelli
2011-07-19 16:12 ` [PATCH 6/6] Update the makefile for generating the help messages Goffredo Baroncelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).