#!/usr/bin/env python
-"""Tag a commit in the bup repository.
-Creating a tag on a commit can be used for avoiding automatic cleanup from
-removing this commit due to old age.
-"""
+
import sys
import os
optspec = """
bup tag
bup tag [-f] <tag name> <commit>
-bup tag -d [-f] <tag name>
+bup tag [-f] -d <tag name>
--
d,delete= Delete a tag
-f,force Overwrite existing tag, or 'delete' a tag that doesn't exist
+f,force Overwrite existing tag, or ignore missing tag when deleting
"""
o = options.Options(optspec)