From 833b0acac7cfb43f2539270b6e64fd961a93a900 Mon Sep 17 00:00:00 2001 From: Zoom Date: Wed, 13 Aug 2025 05:16:36 +0400 Subject: [PATCH] Docs: `setattr`>`set-file-option`, line break in `fs usage` Signed-off-by: Kent Overstreet --- c_src/cmd_fs.c | 2 +- doc/bcachefs-principles-of-operation.tex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/c_src/cmd_fs.c b/c_src/cmd_fs.c index d13c7e71..e0aceecb 100644 --- a/c_src/cmd_fs.c +++ b/c_src/cmd_fs.c @@ -465,7 +465,7 @@ static void fs_usage_usage(void) "\n" "Options:\n" " -f, --fields=FIELDS List of accounting sections to print\n" - " replicas,btree,compression,rebalance_work,devices" + " replicas,btree,compression,rebalance_work,devices\n" " -a Print all accounting fields\n" " -h, --human-readable Human readable units\n" " -H, --help Display this help and exit\n" diff --git a/doc/bcachefs-principles-of-operation.tex b/doc/bcachefs-principles-of-operation.tex index cd554d3b..dfa5fa6e 100644 --- a/doc/bcachefs-principles-of-operation.tex +++ b/doc/bcachefs-principles-of-operation.tex @@ -605,7 +605,7 @@ $ getfattr -d -m '^bcachefs_effective\.' filename \end{verbatim} \end{quote} Options may be set via the extended attribute interface, but it is preferable to -use the \texttt{bcachefs setattr} command as it will correctly propagate options +use the \texttt{bcachefs set-file-option} command as it will correctly propagate options recursively. \subsection{Full option list}