Bug 699054 - abrt-cli: invalid option -- 'D'
Summary: abrt-cli: invalid option -- 'D'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikola Pajkovsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-22 20:42 UTC by Steve Tyler
Modified: 2014-02-02 22:15 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-27 15:05:02 UTC
Type: ---


Attachments (Terms of Use)

Description Steve Tyler 2011-04-22 20:42:11 UTC
Description of problem:
abrt-cli help lists "-D" as an option, but it is not accepted. The man page does not mention the "-D" option.

BTW, since "-D" is similar to "-d", which deletes,
it might be safer use "-b" for "BASE_DIR".

Version-Release number of selected component (if applicable):
abrt-cli-2.0.1-2.fc15.x86_64

How reproducible:
Always

Steps to Reproduce:
1. See below.
  
Actual results:
abrt-cli: invalid option -- 'D'

Expected results:
The option is accepted.

Additional info:

[joeblow@fir ~]$ abrt-cli -l -D $HOME/.abrt/spool/*
abrt-cli: invalid option -- 'D'
abrt-cli 2.0.1

Usage: abrt-cli -l[f] [-D BASE_DIR]...]
   or: abrt-cli -r[y] CRASH_DIR
   or: abrt-cli -i[b] CRASH_DIR
   or: abrt-cli -d CRASH_DIR

	-l, --list		List not yet reported problems
	  -f, --full		List all problems
	-D BASE_DIR		Directory to list problems from
				(default: -D $HOME/.abrt/spool -D /var/spool/abrt)

	-r, --report		Send a report about CRASH_DIR
	  -y, --always		...without editing and asking
	-i, --info		Print detailed information about CRASH_DIR
	  -f, --full		...including multi-line entries
				Note: -if will run analyzers
				(if this CRASH_DIR have defined analyzers)
	-d, --delete		Remove CRASH_DIR

	-V, --version		Display version and exit
	-v, --verbose		Be verbose

Comment 1 Steve Tyler 2011-04-22 20:51:58 UTC
(In reply to comment #0)
...
> [joeblow@fir ~]$ abrt-cli -l -D $HOME/.abrt/spool/*
> abrt-cli: invalid option -- 'D'
...

This is what I meant:
[joeblow@fir ~]$ abrt-cli -l -D $HOME/.abrt
abrt-cli: invalid option -- 'D'
...

Comment 2 Nikola Pajkovsky 2011-09-27 15:05:02 UTC
I've just run $ abrt-cli -l -D /var/spool/abrt and it's working

I'm going to close the bug as fixed in current release, reopen if you need.


Note You need to log in before you can comment on or make changes to this bug.