github.com/cellofellow/gopkg@v0.0.0-20140722061823-eec0544a62ad/apps/pkg-config/usage.go (about) 1 // Copyright 2013 <chaishushan{AT}gmail.com>. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package main 6 7 var _ = ` 8 pkg-config --help 9 Usage: pkg-config [OPTION...] [LIBRARIES] 10 --version output version of pkg-config 11 --modversion output version for package 12 --atleast-pkgconfig-version=VERSION require given version of pkg-config 13 --libs output all linker flags 14 --static output linker flags for static linking 15 --short-errors print short errors 16 --libs-only-l output -l flags 17 --libs-only-other output other libs (e.g. -pthread) 18 --libs-only-L output -L flags 19 --cflags output all pre-processor and compiler 20 flags 21 --cflags-only-I output -I flags 22 --cflags-only-other output cflags not covered by the 23 cflags-only-I option 24 --variable=NAME get the value of variable named NAME 25 --define-variable=NAME=VALUE set variable NAME to VALUE 26 --exists return 0 if the module(s) exist 27 --print-variables output list of variables defined by 28 the module 29 --uninstalled return 0 if the uninstalled version of 30 one or more module(s) or their 31 dependencies will be used 32 --atleast-version=VERSION return 0 if the module is at least 33 version VERSION 34 --exact-version=VERSION return 0 if the module is at exactly 35 version VERSION 36 --max-version=VERSION return 0 if the module is at no newer 37 than version VERSION 38 --list-all list all known packages 39 --debug show verbose debug information 40 --print-errors show verbose information about missing 41 or conflicting packages,default if 42 --cflags or --libs given on the 43 command line 44 --silence-errors be silent about errors (default unless 45 --cflags or --libsgiven on the command 46 line) 47 --errors-to-stdout print errors from --print-errors to 48 stdout not stderr 49 --print-provides print which packages the package 50 provides 51 --print-requires print which packages the package 52 requires 53 --print-requires-private print which packages the package 54 requires for static linking 55 --dont-define-prefix don't try to override the value of 56 prefix for each .pc file found with a 57 guesstimated value based on the 58 location of the .pc file 59 --prefix-variable=PREFIX set the name of the variable that 60 pkg-config automatically sets 61 --msvc-syntax output -l and -L flags for the 62 Microsoft compiler (cl) 63 64 Help options 65 -?, --help Show this help message 66 --usage Display brief usage message 67 68 pkg-config --usage 69 Usage: pkg-config [-?] [--version] [--modversion] 70 [--atleast-pkgconfig-version=VERSION] [--libs] [--static] 71 [--short-errors] [--libs-only-l] [--libs-only-other] [--libs-only-L] 72 [--cflags] [--cflags-only-I] [--cflags-only-other] [--variable=NAME] 73 [--define-variable=NAME=VALUE] [--exists] [--print-variables] 74 [--uninstalled] [--atleast-version=VERSION] [--exact-version=VERSION] 75 [--max-version=VERSION] [--list-all] [--debug] [--print-errors] 76 [--silence-errors] [--errors-to-stdout] [--print-provides] 77 [--print-requires] [--print-requires-private] [--dont-define-prefix] 78 [--prefix-variable=PREFIX] [--msvc-syntax] [--usage] 79 [LIBRARIES] 80 `