From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DE45C38618AA; Wed, 17 Mar 2021 13:26:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DE45C38618AA From: "vries at gcc dot gnu.org" To: dwz@sourceware.org Subject: [Bug default/27595] New: dwz -o outfile with implicit file argument Date: Wed, 17 Mar 2021 13:26:13 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: dwz X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nobody at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: dwz@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Dwz mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2021 13:26:14 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27595 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 fi= le when using -o. --=20 You are receiving this mail because: You are on the CC list for the bug.=