diff options
author | Richard Hartmann <richih@debian.org> | 2013-09-02 21:04:41 +0200 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-09-11 18:21:41 +0100 |
commit | 768ff5909deb2493f1435ed5ab93019cdd75682a (patch) | |
tree | 1c206582c4cd37545dbc38f4027fe862900a4290 /dgit | |
parent | 648901ab69f6cf25adff0ecabfc3a004a6f69382 (diff) |
dgit*: Implement `dgit version`
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -28,6 +28,8 @@ use File::Basename; use Dpkg::Version; use POSIX; +our $dgit_version = 0.14; + our $isuite = 'unstable'; our $idistro; our $package; @@ -1199,6 +1201,10 @@ sub cmd_quilt_fixup { build_maybe_quilt_fixup(); } +sub cmd_version { + print "dgit version $dgit_version\n"; +} + sub parseopts () { my $om; while (@ARGV) { |