diff options
-rwxr-xr-x | dgit | 6 | ||||
-rw-r--r-- | dgit.1 | 3 |
2 files changed, 9 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) { @@ -151,6 +151,9 @@ by making a new debian/ patch containing your unquilty changes) and make a commit of the changes it has made. This is normally done automatically by dgit build and dgit push. +.TP +.B dgit version +Prints version information and exits. .SH OPTIONS .TP .BR --dry-run | -n |