summaryrefslogtreecommitdiffstats
path: root/src/commands/flat.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/flat.rs')
-rw-r--r--src/commands/flat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/flat.rs b/src/commands/flat.rs
index 8e40151..94f0959 100644
--- a/src/commands/flat.rs
+++ b/src/commands/flat.rs
@@ -44,7 +44,7 @@ pub fn _walk_directory(
Ok(results)
}
-pub fn flatten(depth: usize, context: &mut AppContext) -> JoshutoResult {
+pub fn flatten(context: &mut AppContext, depth: usize) -> JoshutoResult {
let path = context.tab_context_ref().curr_tab_ref().cwd().to_path_buf();
let options = context.config_ref().display_options_ref().clone();