source: freewrt/package/busybox/patches/patch-include_usage_h@ c6b195c

freewrt_1_0 freewrt_2_0
Last change on this file since c6b195c was c6b195c, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

use make update-patches to generate patches. start ucdhcp as background process, so that you can later attach a cable and still get an ip address without reboot. add address/broadcast parameters to ip link set

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@1215 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 5.6 KB
Line 
1$FreeWRT$
2--- busybox-1.1.3.orig/include/usage.h Wed Mar 22 22:16:24 2006
3+++ busybox-1.1.3/include/usage.h Sat Nov 25 19:54:19 2006
4@@ -1013,6 +1013,82 @@
5 "$ ls -la /tmp/busybox*\n" \
6 "-rw-rw-r-- 1 andersen andersen 554058 Apr 14 17:49 /tmp/busybox.tar.gz\n"
7
8+#define ipkg_trivial_usage \
9+ "[options]... sub-command [arguments]..."
10+#define ipkg_full_usage \
11+ "ipkg is an utility to install, remove and manage .ipk packages.\n" \
12+ "\n" \
13+ "Sub-commands:\n" \
14+ "\nPackage Manipulation:\n" \
15+ "\tupdate Update list of available packages\n" \
16+ "\tupgrade Upgrade all installed packages to latest version\n" \
17+ "\tinstall <pkg> Download and install <pkg> (and dependencies)\n" \
18+ "\tinstall <file.ipk> Install package <file.ipk>\n" \
19+ "\tconfigure [<pkg>] Configure unpacked packages\n" \
20+ "\tremove <pkg|regexp> Remove package <pkg|packages following regexp>\n" \
21+ "\tflag <flag> <pkg> ... Flag package(s) <pkg>\n" \
22+ "\t <flag>=hold|noprune|user|ok|installed|unpacked (one per invocation) \n" \
23+ "\n" \
24+ "Informational Commands:\n" \
25+ "\tlist List available packages and descriptions\n" \
26+ "\tlist_installed List all and only the installed packages and description \n" \
27+ "\tfiles <pkg> List all files belonging to <pkg>\n" \
28+ "\tsearch <file|regexp> Search for a package providing <file>\n" \
29+ "\tinfo [pkg|regexp [<field>]] Display all/some info fields for <pkg> or all\n" \
30+ "\tstatus [pkg|regexp [<field>]] Display all/some status fields for <pkg> or all\n" \
31+ "\tdownload <pkg> Download <pkg> to current directory.\n" \
32+ "\tcompare_versions <v1> <op> <v2>\n" \
33+ "\t compare versions using <= < > >= = << >>\n" \
34+ "\tprint_architecture prints the architecture.\n" \
35+ "\tprint_installation_architecture\n" \
36+ "\twhatdepends [-A] [pkgname|pat]+\n" \
37+ "\twhatdependsrec [-A] [pkgname|pat]+\n" \
38+ "\twhatprovides [-A] [pkgname|pat]+\n" \
39+ "\twhatconflicts [-A] [pkgname|pat]+\n" \
40+ "\twhatreplaces [-A] [pkgname|pat]+\n" \
41+ "\t prints the installation architecture.\n" \
42+ "\n" \
43+ "\nOptions:\n" \
44+ "\t-A Query all packages with whatdepends, whatprovides, whatreplaces, whatconflicts\n" \
45+ "\t-V <level> Set verbosity level to <level>. If no value is\n" \
46+ "\t--verbosity <level> provided increase verbosity by one. Verbosity levels:\n" \
47+ "\t 0 errors only\n" \
48+ "\t 1 normal messages (default)\n" \
49+ "\t 2 informative messages\n" \
50+ "\t 3 debug output\n" \
51+ "\t-f <conf_file> Use <conf_file> as the ipkg configuration file\n" \
52+ "\t-conf <conf_file> Default configuration file location\n" \
53+ " is /etc/ipkg.conf\n" \
54+ "\t-d <dest_name> Use <dest_name> as the the root directory for\n" \
55+ "\t-dest <dest_name> package installation, removal, upgrading.\n" \
56+ " <dest_name> should be a defined dest name from\n" \
57+ " the configuration file, (but can also be a\n" \
58+ " directory name in a pinch).\n" \
59+ "\t-o <offline_root> Use <offline_root> as the root directory for\n" \
60+ "\t-offline <offline_root> offline installation of packages.\n" \
61+ "\t-verbose_wget more wget messages\n" \
62+ "\n" \
63+ "Force Options (use when ipkg is too smart for its own good):\n" \
64+ "\t-force-depends Make dependency checks warnings instead of errors\n" \
65+ "\t Install/remove package in spite of failed dependences\n" \
66+ "\t-force-defaults Use default options for questions asked by ipkg.\n" \
67+ " (no prompts). Note that this will not prevent\n" \
68+ " package installation scripts from prompting.\n" \
69+ "\t-force-reinstall Allow ipkg to reinstall a package.\n" \
70+ "\t-force-overwrite Allow ipkg to overwrite files from another package during an install.\n" \
71+ "\t-force-downgrade Allow ipkg to downgrade packages.\n" \
72+ "\t-force_space Install even if there does not seem to be enough space.\n" \
73+ "\t-noaction No action -- test only\n" \
74+ "\t-nodeps Do not follow dependences\n" \
75+ "\t-force-removal-of-dependent-packages\n" \
76+ "\t-recursive Allow ipkg to remove package and all that depend on it.\n" \
77+ "\t-test No action -- test only\n" \
78+ "\t-t Specify tmp-dir.\n" \
79+ "\t--tmp-dir Specify tmp-dir.\n" \
80+ "\n" \
81+ "\tregexp could be something like 'pkgname*' '*file*' or similar\n" \
82+ "\teg: ipkg info 'libstd*' or ipkg search '*libop*' or ipkg remove 'libncur*'\n"
83+
84 #define halt_trivial_usage \
85 "[-d<delay>] [-n<nosync>] [-f<force>]"
86 #define halt_full_usage \
87@@ -1598,6 +1674,13 @@
88 #define killall_example_usage \
89 "$ killall apache\n"
90
91+#define killall5_trivial_usage \
92+ ""
93+#define killall5_full_usage \
94+ ""
95+#define killall5_example_usage \
96+ ""
97+
98 #define klogd_trivial_usage \
99 "[-c n] [-n]"
100 #define klogd_full_usage \
101@@ -2343,6 +2426,7 @@
102 "Options:\n" \
103 "\t-c COUNT\tSend only COUNT pings\n" \
104 "\t-s SIZE\t\tSend SIZE data bytes in packets (default=56)\n" \
105+ "\t-I IPADDR\tUse IPADDR as source address.\n" \
106 "\t-q\t\tQuiet mode, only displays output at start\n" \
107 "\t\t\tand when finished"
108 #endif
109@@ -3261,6 +3345,7 @@
110 "\t-n,\t--now\tExit with failure if lease cannot be immediately negotiated\n" \
111 "\t-p,\t--pidfile=file\tStore process ID of daemon in file\n" \
112 "\t-q,\t--quit\tQuit after obtaining lease\n" \
113+ "\t-R,\t--release\tRelease IP on quit\n" \
114 "\t-r,\t--request=IP\tIP address to request (default: none)\n" \
115 "\t-s,\t--script=file\tRun file at dhcp events (default: /usr/share/udhcpc/default.script)\n" \
116 "\t-t,\t--retries=NUM\tSend up to NUM request packets\n"\
Note: See TracBrowser for help on using the repository browser.