Add hash TODO
This commit is contained in:
parent
face6e04a6
commit
abe44c3f92
2
tag.sh
2
tag.sh
|
@ -36,6 +36,8 @@ if [[ "$1" = "add" ]]; then
|
|||
shift
|
||||
[ "$1" = "tag" ] && TABLE="tags" && COLUMN="label"
|
||||
[ "$1" = "file" ] && TABLE="files" && COLUMN="filename"
|
||||
# TODO: refactor the add function to allow adding hashes
|
||||
# [ "$1" = "hash" ] && TABLE="hashes" && COLUMN="md5,filename"
|
||||
shift
|
||||
[ -z "$1" ] && fail "No value supplied."
|
||||
COUNTER=0
|
||||
|
|
Loading…
Reference in New Issue