Added --manpage option to 0alias. This displays the man-page for an alias, e.g.
commitc78ffb925569905affc66d9fa4900c60670473d6
authorThomas Leonard <talex5@gmail.com>
Mon, 7 May 2007 12:01:41 +0000 (7 12:01 +0000)
committerThomas <Leonard>
Sun, 15 Jan 2006 10:34:05 +0000 (15 10:34 +0000)
tree2ab81c43ce69a55d732cc5b79d6bad203202878d
parent4364fa08d7a3831a8e147713483546f1f1ef22f3
Added --manpage option to 0alias. This displays the man-page for an alias, e.g.

$ 0alias foo http://example.com/foo.xml
$ 0alias --manpage foo

If the argument doesn't look like a 0alias script, it is passed to the system's
man command, so you can do this in your .bashrc file:

alias man=’0alias --manpage’

And then do:

$ 0alias foo http://example.com/foo.xml
$ man foo

Currently, the man-page is located in the implementation using some ugly heuristics. Ideally,
the feed should say exactly the man-page is.

git-svn-id: file:///home/talex/Backups/sf.net/Subversion/zero-install/trunk/0launch@1734 9f8c893c-44ee-0310-b757-c8ca8341c71e
0alias
0alias.1