From 52b9e813bdc826d5dc8d140645166feece0ec43a Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sat, 20 Jul 2024 16:45:08 -0400 Subject: [PATCH] Rename option commands set-option -> set-fs-option setattr -> set-file-option Signed-off-by: Kent Overstreet --- c_src/bcachefs.c | 4 ++-- src/bcachefs.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/c_src/bcachefs.c b/c_src/bcachefs.c index c5b610972..77bf62153 100644 --- a/c_src/bcachefs.c +++ b/c_src/bcachefs.c @@ -33,7 +33,7 @@ void bcachefs_usage(void) "Superblock commands:\n" " format Format a new filesystem\n" " show-super Dump superblock information to stdout\n" - " set-option Set a filesystem option\n" + " set-fs-option Set a filesystem option\n" " reset-counters Reset all counters on an unmounted device\n" "\n" "Mount:\n" @@ -82,7 +82,7 @@ void bcachefs_usage(void) " migrate-superblock Add default superblock, after bcachefs migrate\n" "\n" "Commands for operating on files in a bcachefs filesystem:\n" - " setattr Set various per file attributes\n" + " set-file-option Set various attributes on files or directories\n" "\n" "Debug:\n" "These commands work on offline, unmounted filesystems\n" diff --git a/src/bcachefs.rs b/src/bcachefs.rs index 26422abd6..0e70d1351 100644 --- a/src/bcachefs.rs +++ b/src/bcachefs.rs @@ -55,9 +55,9 @@ fn handle_c_command(mut argv: Vec, symlink_cmd: Option<&str>) -> i32 { "mkfs" => c::cmd_format(argc, argv), "remove-passphrase" => c::cmd_remove_passphrase(argc, argv), "reset-counters" => c::cmd_reset_counters(argc, argv), - "set-option" => c::cmd_set_option(argc, argv), + "set-fs-option" => c::cmd_set_option(argc, argv), "set-passphrase" => c::cmd_set_passphrase(argc, argv), - "setattr" => c::cmd_setattr(argc, argv), + "set-file-option" => c::cmd_setattr(argc, argv), "show-super" => c::cmd_show_super(argc, argv), "unlock" => c::cmd_unlock(argc, argv), "version" => c::cmd_version(argc, argv),