diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2019-06-09 02:51:42 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-09 04:33:16 +0000 |
commit | 87817450840f67a862c611a13d65e998c70a5743 (patch) | |
tree | 16222fec71ccb2e92c99d62002c5eeadc079393e /lib/PublicInbox/AdminEdit.pm | |
parent | 7e24935c71e9d6e9a08e2afa56b55b74ddc957e9 (diff) | |
download | public-inbox-87817450840f67a862c611a13d65e998c70a5743.tar.gz |
Editing and purging are similar operations involving history rewrites, so there'll be common options and code between them.
Diffstat (limited to 'lib/PublicInbox/AdminEdit.pm')
-rw-r--r-- | lib/PublicInbox/AdminEdit.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/PublicInbox/AdminEdit.pm b/lib/PublicInbox/AdminEdit.pm new file mode 100644 index 00000000..109a99fc --- /dev/null +++ b/lib/PublicInbox/AdminEdit.pm @@ -0,0 +1,11 @@ +# Copyright (C) 2019 all contributors <meta@public-inbox.org> +# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt> + +# common stuff between -edit, -purge (and maybe -learn in the future) +package PublicInbox::AdminEdit; +use strict; +use warnings; +use PublicInbox::Admin; +our @OPT = qw(all force|f verbose|v!); + +1; |