"btrfs filesystem balance" is deprecated in favor of "btrfs balance".
Signed-off-by: Hu Tao <hutao(a)cn.fujitsu.com>
---
daemon/btrfs.c | 1 -
generator/actions.ml | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/daemon/btrfs.c b/daemon/btrfs.c
index 167dd49..f525ea2 100644
--- a/daemon/btrfs.c
+++ b/daemon/btrfs.c
@@ -645,7 +645,6 @@ do_btrfs_filesystem_balance (const char *fs)
}
ADD_ARG (argv, i, str_btrfs);
- ADD_ARG (argv, i, "filesystem");
ADD_ARG (argv, i, "balance");
ADD_ARG (argv, i, fs_buf);
ADD_ARG (argv, i, NULL);
diff --git a/generator/actions.ml b/generator/actions.ml
index c77c250..00f04a5 100644
--- a/generator/actions.ml
+++ b/generator/actions.ml
@@ -10335,6 +10335,7 @@ Force sync on the btrfs filesystem mounted at C<fs>."
};
{ defaults with
name = "btrfs_filesystem_balance";
style = RErr, [Pathname "fs"], [];
+ fish_alias = ["btrfs-balance"];
proc_nr = Some 328;
optional = Some "btrfs"; camel_name = "BTRFSFilesystemBalance";
shortdesc = "balance a btrfs filesystem";
--
2.1.0