X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=setpci.c;h=3ebbaeedeaed127bcb78fdd22bb1a81e726db000;hb=daf2ef4e78d6559bd7a3242113b082134b9f2ea7;hp=7ed0ac6c46b82a3ab0f11d37477ab48ab6a3d41b;hpb=4f6b38ca2cba4aaf49d88a689f48b4183e88f604;p=pciutils.git diff --git a/setpci.c b/setpci.c index 7ed0ac6..3ebbaee 100644 --- a/setpci.c +++ b/setpci.c @@ -1,7 +1,7 @@ /* * The PCI Utilities -- Manipulate PCI Configuration Registers * - * Copyright (c) 1998--2006 Martin Mares + * Copyright (c) 1998--2008 Martin Mares * * Can be freely distributed and used under the terms of the GNU GPL. */ @@ -12,6 +12,7 @@ #include #include +#define PCIUTILS_SETPCI #include "pciutils.h" static int force; /* Don't complain if no devices match */ @@ -259,10 +260,16 @@ usage(char *msg, ...) } fprintf(stderr, "Usage: setpci [] (+ [=]*)*\n" +"\n" +"General options:\n" "-f\t\tDon't complain if there's nothing to do\n" "-v\t\tBe verbose\n" "-D\t\tList changes, don't commit them\n" +"\n" +"PCI access options:\n" GENERIC_HELP +"\n" +"Setting commands:\n" ":\t-s [[[]:][]:][][.[]]\n" "\t|\t-d []:[]\n" ":\t\t[.(B|W|L)]\n"