1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-01-22 23:38:57 +00:00
borg/docs/update_usage.sh
Jonas Borgström b718a443a8 Project rename
2013-07-09 20:14:18 +02:00

7 lines
262 B
Bash
Executable file

#!/usr/bin/bash
echo -n > usage.rst
for cmd in init create extract delete prune verify change-passphrase; do
LINE=`echo -n attic $cmd | tr 'a-z ' '~'`
echo -e ".. _usage_attic_$cmd:\n\nattic $cmd\n$LINE\n::\n" >> usage.rst
attic $cmd -h >> usage.rst
done