Skip to content

Commit e0c3a59

Browse files
committed
Fixed a small error introduced in #90
1 parent a5fdae9 commit e0c3a59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pac.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
doc = <<DOCOPT
99
Usage:
10-
#{__FILE__} from <oldest-ref> [--to <newest-ref>] [options] [-v...] [-q...] [-c (<user> <password> <target>)]...
11-
#{__FILE__} from-latest-tag <approximation> [--to <newest-ref>] [options] [-v...] [-q...] [-c (<user> <password> <target>)]...
10+
#{__FILE__} from <oldest-ref> [--to=<newest-ref>] [options] [-v...] [-q...] [-c (<user> <password> <target>)]...
11+
#{__FILE__} from-latest-tag <approximation> [--to=<newest-ref>] [options] [-v...] [-q...] [-c <user> <password> <target>]...
1212
#{__FILE__} -h|--help
1313
1414
Options:
@@ -45,7 +45,7 @@ def version
4545
if File.exist?(dir+'/version.stamp')
4646
version = File.read(dir+'/version.stamp')
4747
else
48-
version = "Unknown version"
48+
version = "Version "+File.read(dir+'/version.properties').split("=")[1]
4949
end
5050
version
5151
end

0 commit comments

Comments
 (0)