Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/emmylua_check/src/cmd_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use std::path::PathBuf;
#[allow(unused)]
#[derive(Debug, Clone)]
#[cfg_attr(feature = "cli", derive(Parser))]
#[cfg_attr(feature = "cli", command(version))]
pub struct CmdArgs {
/// Configuration file paths.
/// If not provided, both ".emmyrc.json" and ".luarc.json" will be searched in the workspace
Expand Down
1 change: 1 addition & 0 deletions crates/emmylua_doc_cli/src/cmd_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use clap::{Parser, ValueEnum};
use std::path::PathBuf;

#[derive(Debug, Parser)]
#[command(version)]
pub struct CmdArgs {
/// The path of the lua project
#[arg(long, short, num_args = 1..)]
Expand Down
1 change: 1 addition & 0 deletions crates/emmylua_ls/src/cmd_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ use clap::{Parser, ValueEnum};

#[allow(unused)]
#[derive(Debug, Parser, Clone)]
#[command(version)]
pub struct CmdArgs {
/// Communication method
#[structopt(long, short, default_value = "stdio")]
Expand Down