Bug 699054

Summary: abrt-cli: invalid option -- 'D'
Product: [Fedora] Fedora Reporter: Steve Tyler <stephent98>
Component: abrtAssignee: Nikola Pajkovsky <npajkovs>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: anton, dhoward, dvlasenk, iprikryl, jmoskovc, kklic, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-27 15:05:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.