Skip to content

Commit 1c561dc

Browse files
committed
Declare example-value for --target-dump and --source-dump
1 parent 54a17d6 commit 1c561dc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

commands/sql/sqlsync.drush.inc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ function sqlsync_drush_command() {
4747
'source-db-url' => 'Database specification for source system to dump from.',
4848
'source-remote-port' => 'Override sql database port number in source-db-url. Optional.',
4949
'source-remote-host' => 'Remote machine to run sql-dump file on. Optional; default is local machine.',
50-
'source-dump' => 'The destination for the dump file, or the path to the dump file when --no-dump is specified. Format: "--source-dump=/dumpdir/db.sql"',
50+
'source-dump' => array(
51+
'description' => 'The destination for the dump file, or the path to the dump file when --no-dump is specified.',
52+
'example-value' => '/dumpdir/db.sql',
53+
),
5154
'source-database' => 'A key in the $db_url (D6) or $databases (D7+) array which provides the data.',
5255
'source-target' => array(
5356
'description' => 'A key within the SOURCE database identifying a particular server in the database group.',
@@ -59,7 +62,10 @@ function sqlsync_drush_command() {
5962
'target-db-url' => '',
6063
'target-remote-port' => '',
6164
'target-remote-host' => '',
62-
'target-dump' => 'A path for saving the dump file on target. Mandatory when using --no-sync. Format: "--target-dump=/dumpdir/db.sql.gz"',
65+
'target-dump' => array(
66+
'description' => 'A path for saving the dump file on target. Mandatory when using --no-sync.',
67+
'example-value' => '/dumpdir/db.sql.gz',
68+
),
6369
'target-database' => 'A key in the $db_url (D6) or $databases (D7+) array which shall receive the data.',
6470
'target-target' => array(
6571
'description' => 'Oy. A key within the TARGET database identifying a particular server in the database group.',

0 commit comments

Comments
 (0)