mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 08:16:54 +00:00
7 lines
258 B
Bash
Executable file
7 lines
258 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 darc $cmd | tr 'a-z ' '~'`
|
|
echo -e ".. _usage_darc_$cmd:\n\ndarc $cmd\n$LINE\n::\n" >> usage.rst
|
|
darc $cmd -h >> usage.rst
|
|
done
|