Doesn't let me pass options to time
Bug #147086 reported by
Kyle Kienapfel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found |
Invalid
|
Undecided
|
Unassigned | ||
bash (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
time --format 'Time: %Es' program doesn't work as desired, command-not-found gets in the way.
Tested on Feisty.
mage@prometheus
Usage: command-not-found [options] <command-name>
command-not-found: error: no such option: --format
bash: --format: command not found
real 0m0.124s
user 0m0.096s
sys 0m0.016s
mage@prometheus
$ time --help
Usage: time [-apvV] [-f format] [-o file] [--append] [--verbose]
[--quiet] [--help] command [arg...]
$ exit
To post a comment you must log in.
This is a bug in feisty's version of bash that invokes command-not-found incorrectly. Please check /etc/bash.bashrc and notice the lack of '--' before the argument to c-n-f