aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-09-04 11:10:37 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-09-04 11:10:37 +0000
commitbaa1101a29480c22433492b92173f1d5108950f0 (patch)
treea1c4cd18cede88c2e18a6e22f0b59924d5838682 /shell
parent0742d5e1c58ed6bd6a35eb9ff8715be1457c4b95 (diff)
downloadbusybox-w32-baa1101a29480c22433492b92173f1d5108950f0.tar.gz
busybox-w32-baa1101a29480c22433492b92173f1d5108950f0.tar.bz2
busybox-w32-baa1101a29480c22433492b92173f1d5108950f0.zip
General cleanup of command line parsing to allow "busybox" to work as a prefix.
(I.E. any argv[0] that starts with "busybox" winds up in busybox_main().) Added testing/busybox.tests which tests the following permutations: ./busybox ./busybox-suffix ./busybox cat ./busybox-suffix cat ./busybox --help ./busybox-suffix --help ./busybox --help cat ./busybox-suffix --help cat ./busybox --help unknown ./busybox-suffix --help unknown ./unknown Also repair the test suite so ./runtest calls the ".tests" scripts properly. Note: you can now go "busybox busybox busbox ls -l" and it'll take it. The new code is pretty generic. I can block that if anybody can come up with a good reason to... git-svn-id: svn://busybox.net/trunk/busybox@11322 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions