c2oo / xtrabackup-manager

Automatically exported from code.google.com/p/xtrabackup-manager
0 stars 0 forks source link

xbm snapshot restore usage message incorrect #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. simply run xbm  snapshot restore  to produce the warning about incomplete 
arguments and print usage

What is the expected output? What do you see instead?

Given

XtraBackup Manager v0.81 - Copyright 2011-2012 Marin Software

Error: Not all required parameters for the restore action were given.

  Syntax:

    xbm snapshot restore <snapshot_idt> <target_path>

  Example:

    xbm snapshot restore m21 /restores/myrestore

Expected

XtraBackup Manager v0.81 - Copyright 2011-2012 Marin Software

Error: Not all required parameters for the restore action were given.

  Syntax:

    xbm snapshot restore <target_path> <snapshot_idt> 

  Example:

    xbm snapshot restore /restores/myrestore m21 

What version of the product are you using? On what operating system?

0.81-r229

Please provide any additional information below.

Attaching diff -c patch that makes the usage error message consistent with 
actual usage.

Original issue reported on code.google.com by msiekki...@gmail.com on 25 Apr 2012 at 10:41

Attachments: