xtrabackup should reject unknown arguments which are not options

Bug #1367377 reported by Alexey Kopytov on 2014-09-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to https://jira.percona.com/projects/PXB
Fix Released
Medium
Alexey Kopytov
2.1
Fix Released
Medium
Alexey Kopytov
2.2
Fix Released
Medium
Alexey Kopytov

Bug Description

The xtrabackup binary accepts arguments which are not options, i.e. prefixed with '--'. For example:

xtrabackup --backup backup_dir

succeeds and creates a backup in the ./xtrabackup_backupfiles directory instead of backup_dir.

Such invalid syntax is error prone and should be rejected.

Related branches

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXB-697

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers