From f2ba814ef18f8c29416671a6dd9fdf128695bc01 Mon Sep 17 00:00:00 2001 From: Cassey Shao <60023562+casseyshao@users.noreply.github.com> Date: Thu, 30 Nov 2023 16:40:52 -0500 Subject: [PATCH] Add help option description to vi (#2167) --- src/vi.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/vi.ts b/src/vi.ts index 2b08f272a225..5f9b40b78e86 100644 --- a/src/vi.ts +++ b/src/vi.ts @@ -5,6 +5,12 @@ const completionSpec: Fig.Spec = { args: { template: "filepaths", }, + options: [ + { + name: ["-h", "--help"], + description: "Print help message for vi and exit", + }, + ], }; export default completionSpec;