frappe / frappe_docs

[DEPRECATED] Frappe Framework Documentation. Please don't raise new contributions here.
https://frappeframework.com/docs
Other
44 stars 96 forks source link

"bench backup" doesn't now about the arguments "--only", "-i" or "--include" #165

Open Mutantpenguin opened 3 years ago

Mutantpenguin commented 3 years ago

Description of the issue

The documentation says that "bench backup" knows about the arguments "--only", "-i" or "--include". https://frappeframework.com/docs/user/en/bench/reference/backup

These are no commands/arguments from bench itself, but I think should be defined by frappe.

All 3 arguments are not recognised.

Context information (for bug reports)

Output of bench version

erpnext 12.21.0
frappe 12.18.1

Steps to reproduce the issue

  1. bench backup --only 'Address'

Observed result

Output: Error: no such option: --only

Expected result

Working backup with only the stated DocTypes.

Stacktrace / full error message

Usage: bench  backup [OPTIONS]
Try "bench  backup --help" for help.

Error: no such option: --only

Additional information

OS version / distribution: Ubuntu 18.04

Frappe install method: Easy Installer

gavindsouza commented 3 years ago

Hey, these options were added in v13. They aren't available in Frappe v12.

Mutantpenguin commented 3 years ago

Thank you very much, I did't know this.

But then I would still classify this as a bug. Not for the code, but for the documentation. It doesn't state anywhere obvious that this documentation is for v13.