projects
/
p5sagit/Promulger.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
move the --config option to be global, also add a command to unsubscribe a
[p5sagit/Promulger.git]
/
lib
/
App
/
Promulger.pm
diff --git
a/lib/App/Promulger.pm
b/lib/App/Promulger.pm
index
545f962
..
1cce07d
100644
(file)
--- a/
lib/App/Promulger.pm
+++ b/
lib/App/Promulger.pm
@@
-4,4
+4,12
@@
use warnings;
use App::Cmd::Setup -app;
+use Promulger::Config;
+
+sub global_opt_spec {
+ return (
+ [ "config|c=s", "configuration file", { required => 1 } ],
+ );
+}
+
1;