command-not-found should process commands that look like arguments literally

Bug #124301 reported by Allison Karlitskaya
2
Affects Status Importance Assigned to Milestone
command-not-found (Ubuntu)
Fix Released
Low
Zygmunt Krynicki

Bug Description

Binary package hint: command-not-found

desrt@moonpix:~$ --help
Usage: command-not-found [options] <command-name>

Options:
  --version show program's version number and exit
  -h, --help show this help message and exit
  -d DATA_DIR, --data-dir=DATA_DIR
                        use this path to locate data fields
-bash: --help: command not found

'nuff said.

Related branches

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Thanks for the bug report.
This was actually fixed ages ago but never merged to Ubuntu.
I will make sure this get's merged for gutsy.

Changed in command-not-found:
assignee: nobody → zkrynicki
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

This is actually a issue in bash that started to include c-n-f handler in /etc/bash.bashrc

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

This has been fixed for ages I guess

Changed in command-not-found:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.