Clarify help function
This commit is contained in:
parent
2d50c7b158
commit
ffea2abdb2
2
PKGBUILD
2
PKGBUILD
@ -17,7 +17,7 @@ install=${pkgname}.install
|
||||
source=(git+https://github.com/Fuxino/${pkgname}.git
|
||||
config)
|
||||
sha256sums=('SKIP'
|
||||
'd8b88cbb4e6d9cae68c1605496880065337484dff8ee4c06dce2578357e95574')
|
||||
'22ef4a0e9356daf3cabe93299c7a04b6b7283b14e6f2c07d939e24027eedf144')
|
||||
|
||||
pkgver()
|
||||
{
|
||||
|
7
simple-backup.install
Normal file
7
simple-backup.install
Normal file
@ -0,0 +1,7 @@
|
||||
post_install() {
|
||||
echo "An example configuration file is found in /etc/simple_backup/config."
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
@ -38,7 +38,7 @@ class Backup():
|
||||
|
||||
# Help function
|
||||
def help_function(self):
|
||||
print('simple_backup, version 1.4.2')
|
||||
print('simple_backup, version 2.0.0')
|
||||
print('')
|
||||
print('Usage: {} [OPTIONS]'.format(argv[0]))
|
||||
print('')
|
||||
@ -54,7 +54,7 @@ class Backup():
|
||||
print('-k, --keep NUMBER Specify the number of old backups to keep.')
|
||||
print(' Default: keep all.')
|
||||
print('-u, --user USER User performing the backup.')
|
||||
print(' Default: current user.')
|
||||
print(' Useful when running with "sudo"')
|
||||
print('-s, --checksum Use the checksum rsync option to compare files')
|
||||
print(' (MUCH slower).')
|
||||
print('')
|
||||
|
Loading…
x
Reference in New Issue
Block a user