From a562d544d8520a0f113ad1a348e28ea00f27b693 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 3 Oct 2012 16:37:06 -0400 Subject: =?UTF-8?q?When=20=E2=80=98--help=E2=80=99=20is=20given,=20just=20?= =?UTF-8?q?run=20=E2=80=98man=E2=80=99=20to=20show=20the=20manual=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I.e. do what git does. I'm too lazy to keep the builtin help text up to date :-) Also add ‘--help’ to various commands that lacked it (e.g. nix-collect-garbage). --- src/nix-hash/Makefile.am | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/nix-hash/Makefile.am') diff --git a/src/nix-hash/Makefile.am b/src/nix-hash/Makefile.am index a4fdb3246..ef7bb8423 100644 --- a/src/nix-hash/Makefile.am +++ b/src/nix-hash/Makefile.am @@ -1,13 +1,8 @@ bin_PROGRAMS = nix-hash -nix_hash_SOURCES = nix-hash.cc help.txt +nix_hash_SOURCES = nix-hash.cc nix_hash_LDADD = ../libmain/libmain.la ../libstore/libstore.la ../libutil/libutil.la \ ../boost/format/libformat.la -nix-hash.o: help.txt.hh - -%.txt.hh: %.txt - ../bin2c/bin2c helpText < $< > $@ || (rm $@ && exit 1) - AM_CXXFLAGS = \ -I$(srcdir)/.. -I$(srcdir)/../libutil -I$(srcdir)/../libstore -I$(srcdir)/../libmain -- cgit v1.2.3