From unknown Tue Jun 24 06:59:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14617: od - Please add -h option Resent-From: Jari Aalto Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 14 Jun 2013 08:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14617 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 14617@debbugs.gnu.org X-Debbugs-Original-To: submit@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.137119694914207 (code B ref -1); Fri, 14 Jun 2013 08:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jun 2013 08:02:29 +0000 Received: from localhost ([127.0.0.1]:43107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnOxo-0003h1-Be for submit@debbugs.gnu.org; Fri, 14 Jun 2013 04:02:28 -0400 Received: from emh06.mail.saunalahti.fi ([62.142.5.116]:52300) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnOxk-0003gl-9y for submit@debbugs.gnu.org; Fri, 14 Jun 2013 04:02:25 -0400 Received: from saunalahti-vams (vs3-12.mail.saunalahti.fi [62.142.5.96]) by emh06.mail.saunalahti.fi (Postfix) with SMTP id 7D2AD69AE4 for ; Fri, 14 Jun 2013 11:02:22 +0300 (EEST) Received: from emh02.mail.saunalahti.fi ([62.142.5.108]) by vs3-12.mail.saunalahti.fi ([62.142.5.96]) with SMTP (gateway) id A0385474DD4; Fri, 14 Jun 2013 11:02:22 +0300 Received: from picasso.cante.net (a91-155-188-45.elisa-laajakaista.fi [91.155.188.45]) by emh02.mail.saunalahti.fi (Postfix) with ESMTP id 5CCF68187B for ; Fri, 14 Jun 2013 11:02:22 +0300 (EEST) From: Jari Aalto Mail-Copies-To: poster Date: Fri, 14 Jun 2013 11:02:21 +0300 Message-ID: <87ppvp5dde.fsf@picasso.cante.net> MIME-Version: 1.0 Content-Type: text/plain X-Antivirus: VAMS X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Package: coreutils Version: 8.20-3 Severity: wishlist An example: $ od -h ... hangs Please add options -h, --help like in other GNU tools to display brief synopsis and program description. -- System Information Debian Release: jessie/sid APT Prefers testing APT policy: (990, testing) (500, unstable) Architecture: amd64 Kernel: Linux picasso 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux Locale: LANG=en_DK.UTF-8 -- Versions of packages `coreutils depends on'. Pre-Depends: libacl1 2.2.52-1 Access control list shared library libattr1 1:2.4.47-1 Extended attribute shared library libc6 2.17-5 Embedded GNU C Library: Shared libraries libselinux1 2.1.13-2 SELinux runtime shared libraries Depends: dpkg 1.16.10 Debian package management system install-info 5.1.dfsg.1-3 Manage installed documentation in info format From unknown Tue Jun 24 06:59:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14617: od - Please add -h option Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 14 Jun 2013 08:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14617 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: Jari Aalto Cc: 14617@debbugs.gnu.org Received: via spool by 14617-submit@debbugs.gnu.org id=B14617.137119969620351 (code B ref 14617); Fri, 14 Jun 2013 08:49:01 +0000 Received: (at 14617) by debbugs.gnu.org; 14 Jun 2013 08:48:16 +0000 Received: from localhost ([127.0.0.1]:43165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnPg7-0005I8-72 for submit@debbugs.gnu.org; Fri, 14 Jun 2013 04:48:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5362) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnPg3-0005Ho-El; Fri, 14 Jun 2013 04:48:12 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5E8m9B2004684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 14 Jun 2013 04:48:09 -0400 Received: from [10.36.116.94] (ovpn-116-94.ams2.redhat.com [10.36.116.94]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r5E8m6Gx008339 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 14 Jun 2013 04:48:08 -0400 Message-ID: <51BAD8C6.8090602@draigBrady.com> Date: Fri, 14 Jun 2013 09:48:06 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 References: <87ppvp5dde.fsf@picasso.cante.net> In-Reply-To: <87ppvp5dde.fsf@picasso.cante.net> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tag 14617 notabug close 14617 stop On 06/14/2013 09:02 AM, Jari Aalto wrote: > Package: coreutils > Version: 8.20-3 > Severity: wishlist > > An example: > > $ od -h > ... hangs > > Please add options -h, --help like in other GNU tools to display brief > synopsis and program description. od accepts the undocumented/obsolescent -h option as an alias for -x so as to be compatible with older/BSD scripts. od accepts --help and --h like other coreutils to display help. thanks, Pádraig. From unknown Tue Jun 24 06:59:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14617: od - Please add -h option Resent-From: jari.aalto@cante.net Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 14 Jun 2013 09:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14617 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug To: =?UTF-8?Q?P=C3=A1draig?= Brady @picasso.cante.net Cc: 14617@debbugs.gnu.org Received: via spool by 14617-submit@debbugs.gnu.org id=B14617.137120142228654 (code B ref 14617); Fri, 14 Jun 2013 09:18:01 +0000 Received: (at 14617) by debbugs.gnu.org; 14 Jun 2013 09:17:02 +0000 Received: from localhost ([127.0.0.1]:43231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnQ7w-0007Rl-SY for submit@debbugs.gnu.org; Fri, 14 Jun 2013 05:17:01 -0400 Received: from emh06.mail.saunalahti.fi ([62.142.5.116]:36627) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnQ7t-0007Rc-Us for 14617@debbugs.gnu.org; Fri, 14 Jun 2013 05:16:59 -0400 Received: from saunalahti-vams (vs3-12.mail.saunalahti.fi [62.142.5.96]) by emh06.mail.saunalahti.fi (Postfix) with SMTP id 7137C6999A; Fri, 14 Jun 2013 12:16:56 +0300 (EEST) Received: from emh04.mail.saunalahti.fi ([62.142.5.110]) by vs3-12.mail.saunalahti.fi ([62.142.5.96]) with SMTP (gateway) id A03799502F0; Fri, 14 Jun 2013 12:16:56 +0300 Received: from picasso.cante.net (a91-155-188-45.elisa-laajakaista.fi [91.155.188.45]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id E4FE81A2733; Fri, 14 Jun 2013 12:16:55 +0300 (EEST) Received: from jaalto by picasso.cante.net with local (Exim 4.80) (envelope-from ) id 1UnQ7q-00006j-RY; Fri, 14 Jun 2013 12:16:54 +0300 Date: Fri, 14 Jun 2013 12:16:54 +0300 From: jari.aalto@cante.net Message-ID: <20130614091654.GE21799@picasso.cante.net> References: <87ppvp5dde.fsf@picasso.cante.net> <51BAD8C6.8090602@draigBrady.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <51BAD8C6.8090602@draigBrady.com> X-Gpg-Key-Id: 0xD189E680 X-Gpg-Key-Info: http://pool.sks-keyservers.net:11371/pks/lookup?op=vindex&search=0xD189E680 X-Gpg-Key-Get: http://pool.sks-keyservers.net:11371/pks/lookup?search=0xD189E680&op=get User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jaalto@picasso.cante.net X-SA-Exim-Scanned: No (on picasso.cante.net); SAEximRunCond expanded to false Content-Transfer-Encoding: quoted-printable X-Antivirus: VAMS X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On 2013-06-14 09:48, P=E1draig Brady wrote: | tag 14617 notabug | close 14617 | stop |=20 | od accepts the undocumented/obsolescent -h option as an alias for -x If the "-h" is not really in core of the current program (obsolete, undocumented), it would be nice if program could displat this on STDERR to help users: od -h Warning: obsolete option, interpreted as -x. Did you mean --help? ... Jari From unknown Tue Jun 24 06:59:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14617: od - Please add -h option Resent-From: =?UTF-8?Q?P=C3=A1draig?= Brady Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Fri, 14 Jun 2013 10:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14617 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug To: jari.aalto@cante.net Cc: 14617@debbugs.gnu.org, =?UTF-8?Q?P=C3=A1draig?= Brady @cante.net Received: via spool by 14617-submit@debbugs.gnu.org id=B14617.13712044644382 (code B ref 14617); Fri, 14 Jun 2013 10:08:02 +0000 Received: (at 14617) by debbugs.gnu.org; 14 Jun 2013 10:07:44 +0000 Received: from localhost ([127.0.0.1]:43279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnQv0-00018c-DE for submit@debbugs.gnu.org; Fri, 14 Jun 2013 06:07:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55270) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnQux-000186-IU for 14617@debbugs.gnu.org; Fri, 14 Jun 2013 06:07:40 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5EA7QDo000932 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 14 Jun 2013 06:07:26 -0400 Received: from [10.36.116.100] (ovpn-116-100.ams2.redhat.com [10.36.116.100]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r5EA7Nsm015193 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 14 Jun 2013 06:07:24 -0400 Message-ID: <51BAEB5A.8040506@draigBrady.com> Date: Fri, 14 Jun 2013 11:07:22 +0100 From: =?UTF-8?Q?P=C3=A1draig?= Brady User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 References: <87ppvp5dde.fsf@picasso.cante.net> <51BAD8C6.8090602@draigBrady.com> <20130614091654.GE21799@picasso.cante.net> In-Reply-To: <20130614091654.GE21799@picasso.cante.net> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On 06/14/2013 10:16 AM, jari.aalto@cante.net wrote: > On 2013-06-14 09:48, Pádraig Brady wrote: > | tag 14617 notabug > | close 14617 > | stop > | > | od accepts the undocumented/obsolescent -h option as an alias for -x > > If the "-h" is not really in core of the current program (obsolete, > undocumented), it would be nice if program could displat this on > STDERR to help users: > > od -h > Warning: obsolete option, interpreted as -x. Did you mean --help? > ... A fair suggestion, though we usually restrict warning messages to options that are scheduled to be removed in future. Without this warning, would probably resort to the man page, when there was no output from -h Also the intersection of od users that wouldn't know about --help would be very small I'd guess, so I'm inclined to leave things as they are now. thanks, Pádraig.