From 6accd690b16aa0bce7117286944d69f378611eb8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 1 Sep 2020 01:15:00 +0000 Subject: edit+purge: support `--help' and `-h' like other commands And while we're at it, note edit is *destructive* to encourage reading the fine manual. --- lib/PublicInbox/AdminEdit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/PublicInbox/AdminEdit.pm b/lib/PublicInbox/AdminEdit.pm index 25abfd8e..4448dcc2 100644 --- a/lib/PublicInbox/AdminEdit.pm +++ b/lib/PublicInbox/AdminEdit.pm @@ -6,7 +6,7 @@ package PublicInbox::AdminEdit; use strict; use warnings; use PublicInbox::Admin; -our @OPT = qw(all force|f verbose|v!); +our @OPT = qw(all force|f verbose|v! help|h); sub check_editable ($) { my ($ibxs) = @_; -- cgit v1.2.3-24-ge0c7