Skip to content

Commit d7e61eb

Browse files
authored
Merge pull request #73 from amberxu25/FMEFLOWCLI-76
Update --export-package flag description
2 parents 2a5c766 + 087fed8 commit d7e61eb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/backup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func newBackupCmd() *cobra.Command {
6666
cmd.Flags().StringVarP(&f.outputBackupFile, "file", "f", "ServerConfigPackage.fsconfig", "Path to file to download the backup to.")
6767
cmd.Flags().BoolVar(&f.backupResource, "resource", false, "Backup to a shared resource instead of downloading.")
6868
cmd.Flags().StringVar(&f.backupResourceName, "resource-name", "FME_SHAREDRESOURCE_BACKUP", "Shared Resource Name where the exported package is saved.")
69-
cmd.Flags().StringVar(&f.backupExportPackage, "export-package", "ServerConfigPackage.fsconfig", "Path and name of the export package.")
69+
cmd.Flags().StringVar(&f.backupExportPackage, "export-package", "ServerConfigPackage.fsconfig", "Path and name of the export package when backing up to a shared resource. Must be used with --resource.")
7070
cmd.Flags().StringVar(&f.backupFailureTopic, "failure-topic", "", "Topic to notify on failure of the backup. In V3, default is MIGRATION_ASYNC_JOB_FAILURE")
7171
cmd.Flags().StringVar(&f.backupSuccessTopic, "success-topic", "", "Topic to notify on success of the backup. In V3, default is MIGRATION_ASYNC_JOB_SUCCESS")
7272
cmd.Flags().BoolVar(&f.suppressFileRename, "suppress-file-rename", false, "Specify this flag to not add .fsconfig to the output file automatically")

docs/fmeflow_backup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fmeflow backup [flags]
2525

2626
```
2727
--api-version string The api version to use when contacting FME Server. Must be one of v3 or v4
28-
--export-package string Path and name of the export package. (default "ServerConfigPackage.fsconfig")
28+
--export-package string Path and name of the export package when backing up to a shared resource. Must be used with --resource. (default "ServerConfigPackage.fsconfig")
2929
--failure-topic string Topic to notify on failure of the backup. In V3, default is MIGRATION_ASYNC_JOB_FAILURE
3030
-f, --file string Path to file to download the backup to. (default "ServerConfigPackage.fsconfig")
3131
-h, --help help for backup

0 commit comments

Comments
 (0)