rename --git-repo to --output-dir again

This commit is contained in:
2025-07-06 00:17:37 +00:00
parent c84986a443
commit bf80fd057d
2 changed files with 11 additions and 11 deletions

View File

@ -4,7 +4,7 @@ router_backup \- SSH Router Backup Tool
.SH SYNOPSIS
.B router_backup
.RI --config " CONFIG_FILE"
.RI [ --git-repo " DIRECTORY" ]
.RI [ --output-dir " DIRECTORY" ]
.RI [ --password " PASSWORD" ]
.RI [ --key-file " KEYFILE" ]
.RI [ --port " PORT" ]
@ -18,8 +18,8 @@ The tool supports multiple device types with predefined command sets, SSH agent
.BR --config " \fICONFIG_FILE\fR"
YAML configuration file path (required)
.TP
.BR --git-repo " \fIDIRECTORY\fR"
Git repository directory for command output files (default: /tmp)
.BR --output-dir " \fIDIRECTORY\fR"
Output directory for command output files (default: /tmp)
.TP
.BR --password " \fIPASSWORD\fR"
SSH password for authentication
@ -74,7 +74,7 @@ router_backup --config /etc/router-backup/config.yaml
.TP
Custom output directory:
.EX
router_backup --config config.yaml --git-repo /home/user/backups
router_backup --config config.yaml --output-dir /home/user/backups
.EE
.TP
Using password authentication: