public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/27595] New: dwz -o outfile with implicit file argument
@ 2021-03-17 13:26 vries at gcc dot gnu.org
  2021-03-22  5:43 ` [Bug default/27595] " vries at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2021-03-17 13:26 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=27595

            Bug ID: 27595
           Summary: dwz -o outfile with implicit file argument
           Product: dwz
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: nobody at sourceware dot org
          Reporter: vries at gcc dot gnu.org
                CC: dwz at sourceware dot org
  Target Milestone: ---

Consider this session:
...
$ rm -f a.out b.out
$ gcc ~/hello.c -g
$ ls a.out
a.out
$ dwz -o b.out
$ ls b.out
b.out
$
...

The advertised usage looks like this:
...
$ ./dwz -?
Usage:
  ./dwz [common options] [-h] [-m COMMONFILE] [-M NAME | -r] [FILES]
  ./dwz [common options] -o OUTFILE FILE
  ./dwz [ -v | -? ]
...

But the actual dwz use we did above suggests instead:
...
  ./dwz [common options] -o OUTFILE [ FILE ]
...

So, we should either update the advertised usage, or require an explicit file
when using -o.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug default/27595] dwz -o outfile with implicit file argument
  2021-03-17 13:26 [Bug default/27595] New: dwz -o outfile with implicit file argument vries at gcc dot gnu.org
@ 2021-03-22  5:43 ` vries at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2021-03-22  5:43 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=27595

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Posted patch: https://sourceware.org/pipermail/dwz/2021q1/001156.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-22  5:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-17 13:26 [Bug default/27595] New: dwz -o outfile with implicit file argument vries at gcc dot gnu.org
2021-03-22  5:43 ` [Bug default/27595] " vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).