bin/bagit in bagit-0.3.0 vs bin/bagit in bagit-0.3.1

- old
+ new

@@ -5,17 +5,17 @@ doc = <<DOCOPT BagIt. Usage: - #{__FILE__} add [-f <file>...] [-t <tagfile>...] BAGPATH - #{__FILE__} delete [-f <file>...] [-t <tagfile>...] BAGPATH - #{__FILE__} remove [-t <tagfile>...] BAGPATH - #{__FILE__} validate [-o] BAGPATH - #{__FILE__} manifest [-T] BAGPATH - #{__FILE__} list [--tags | --all] BAGPATH - #{__FILE__} -h | --version + bagit add [-f <file>...] [-t <tagfile>...] BAGPATH + bagit delete [-f <file>...] [-t <tagfile>...] BAGPATH + bagit remove [-t <tagfile>...] BAGPATH + bagit validate [-o] BAGPATH + bagit manifest [-T] BAGPATH + bagit list [--tags | --all] BAGPATH + bagit -h | --version Options: -h --help Show this help screen. --version Show version. -f <file> File to add to/delete from bag. Repeatable. @@ -27,17 +27,17 @@ DOCOPT # Possible commands for bag-info write # - # #{__FILE__} new [--source-organization <org>] [--organization-address <org-addr>] [--contact-name <contact>] + # bagit new [--source-organization <org>] [--organization-address <org-addr>] [--contact-name <contact>] # [--contact-phone <phone>] [--contact-email <email>] [--external-description <ext-desc>] # [--external-identifier <ext-id>] [--group-identifier <group-id>] [--count <count>] # [--internal-sender-identifier <sender-id>] [--internal-sender-description <sender-desc>] # [--bag-info-entry <label> <value>] [-f <file>...] [-t <tagfile>...] BAGPATH begin - opts = Docopt::docopt(doc, version: 'BagIt 0.3.0') + opts = Docopt::docopt(doc, version: 'BagIt 0.3.1') bag = BagIt::Bag.new(opts['BAGPATH']) ##################################### # commands that don't alter the bag #