| 1 | #
|
|---|
| 2 | # Originally from:
|
|---|
| 3 | #
|
|---|
| 4 | #Message-ID: <[email protected]>
|
|---|
| 5 | #Date: Tue, 29 May 2001 20:37:25 +0200
|
|---|
| 6 | #From: Manu Rouat <[email protected]>
|
|---|
| 7 | #Subject: [bash] Universal command options completion?
|
|---|
| 8 | #
|
|---|
| 9 | #
|
|---|
| 10 | #In the recent versions of bash (after 2.04) programmable
|
|---|
| 11 | #completion is available. A useful completion function
|
|---|
| 12 | #is , for a particular command, to enumerate all flags
|
|---|
| 13 | #that can be used in the command. Now, most GNU unix
|
|---|
| 14 | #commands have so-called 'long options' for example:
|
|---|
| 15 | #
|
|---|
| 16 | #ls --color=always --no-group --size
|
|---|
| 17 | #
|
|---|
| 18 | #and these are all listed when you issue a '--help' flag.
|
|---|
|
|---|