@@ -24,7 +24,7 @@ pub(crate) mod version;
2424
2525#[ derive( Debug , Clone , Bpaf ) ]
2626#[ bpaf( options, version( VERSION ) ) ]
27- /// PgLsp official CLI. Use it to check the health of your project or run it to check single files.
27+ /// PgLT official CLI. Use it to check the health of your project or run it to check single files.
2828pub enum PgltCommand {
2929 /// Shows the version information and quit.
3030 #[ bpaf( command) ]
@@ -58,7 +58,7 @@ pub enum PgltCommand {
5858 changed : bool ,
5959
6060 /// Use this to specify the base branch to compare against when you're using the --changed
61- /// flag and the `defaultBranch` is not set in your `pglsp .toml`
61+ /// flag and the `defaultBranch` is not set in your `pglt .toml`
6262 #[ bpaf( long( "since" ) , argument( "REF" ) ) ]
6363 since : Option < String > ,
6464
@@ -87,11 +87,11 @@ pub enum PgltCommand {
8787 long( "log-path" ) ,
8888 argument( "PATH" ) ,
8989 hide_usage,
90- fallback( pglt_fs:: ensure_cache_dir( ) . join( "pglsp -logs" ) ) ,
90+ fallback( pglt_fs:: ensure_cache_dir( ) . join( "pglt -logs" ) ) ,
9191 ) ]
9292 log_path : PathBuf ,
9393 /// Allows to set a custom file path to the configuration file,
94- /// or a custom directory path to find `pglsp .toml`
94+ /// or a custom directory path to find `pglt .toml`
9595 #[ bpaf( env( "PGLSP_LOG_PREFIX_NAME" ) , long( "config-path" ) , argument( "PATH" ) ) ]
9696 config_path : Option < PathBuf > ,
9797 } ,
@@ -123,11 +123,11 @@ pub enum PgltCommand {
123123 long( "log-path" ) ,
124124 argument( "PATH" ) ,
125125 hide_usage,
126- fallback( pglt_fs:: ensure_cache_dir( ) . join( "pglsp -logs" ) ) ,
126+ fallback( pglt_fs:: ensure_cache_dir( ) . join( "pglt -logs" ) ) ,
127127 ) ]
128128 log_path : PathBuf ,
129129 /// Allows to set a custom file path to the configuration file,
130- /// or a custom directory path to find `pglsp .toml`
130+ /// or a custom directory path to find `pglt .toml`
131131 #[ bpaf( env( "PGLSP_CONFIG_PATH" ) , long( "config-path" ) , argument( "PATH" ) ) ]
132132 config_path : Option < PathBuf > ,
133133 /// Bogus argument to make the command work with vscode-languageclient
@@ -157,14 +157,14 @@ pub enum PgltCommand {
157157 long( "log-path" ) ,
158158 argument( "PATH" ) ,
159159 hide_usage,
160- fallback( pglt_fs:: ensure_cache_dir( ) . join( "pglsp -logs" ) ) ,
160+ fallback( pglt_fs:: ensure_cache_dir( ) . join( "pglt -logs" ) ) ,
161161 ) ]
162162 log_path : PathBuf ,
163163
164164 #[ bpaf( long( "stop-on-disconnect" ) , hide_usage) ]
165165 stop_on_disconnect : bool ,
166166 /// Allows to set a custom file path to the configuration file,
167- /// or a custom directory path to find `pglsp .toml`
167+ /// or a custom directory path to find `pglt .toml`
168168 #[ bpaf( env( "PGLSP_CONFIG_PATH" ) , long( "config-path" ) , argument( "PATH" ) ) ]
169169 config_path : Option < PathBuf > ,
170170 } ,
@@ -197,7 +197,7 @@ impl PgltCommand {
197197 }
198198 // We want force colors in CI, to give e better UX experience
199199 // Unless users explicitly set the colors flag
200- // if matches!(self, PgLspCommand ::Ci { .. }) && cli_options.colors.is_none() {
200+ // if matches!(self, PgLTCommand ::Ci { .. }) && cli_options.colors.is_none() {
201201 // return Some(&ColorsArg::Force);
202202 // }
203203 // Normal behaviors
0 commit comments