@@ -24,7 +24,7 @@ pub(crate) mod version;
24
24
25
25
#[ derive( Debug , Clone , Bpaf ) ]
26
26
#[ 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.
28
28
pub enum PgltCommand {
29
29
/// Shows the version information and quit.
30
30
#[ bpaf( command) ]
@@ -58,7 +58,7 @@ pub enum PgltCommand {
58
58
changed : bool ,
59
59
60
60
/// 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`
62
62
#[ bpaf( long( "since" ) , argument( "REF" ) ) ]
63
63
since : Option < String > ,
64
64
@@ -87,11 +87,11 @@ pub enum PgltCommand {
87
87
long( "log-path" ) ,
88
88
argument( "PATH" ) ,
89
89
hide_usage,
90
- fallback( pglt_fs:: ensure_cache_dir( ) . join( "pglsp -logs" ) ) ,
90
+ fallback( pglt_fs:: ensure_cache_dir( ) . join( "pglt -logs" ) ) ,
91
91
) ]
92
92
log_path : PathBuf ,
93
93
/// 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`
95
95
#[ bpaf( env( "PGLSP_LOG_PREFIX_NAME" ) , long( "config-path" ) , argument( "PATH" ) ) ]
96
96
config_path : Option < PathBuf > ,
97
97
} ,
@@ -123,11 +123,11 @@ pub enum PgltCommand {
123
123
long( "log-path" ) ,
124
124
argument( "PATH" ) ,
125
125
hide_usage,
126
- fallback( pglt_fs:: ensure_cache_dir( ) . join( "pglsp -logs" ) ) ,
126
+ fallback( pglt_fs:: ensure_cache_dir( ) . join( "pglt -logs" ) ) ,
127
127
) ]
128
128
log_path : PathBuf ,
129
129
/// 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`
131
131
#[ bpaf( env( "PGLSP_CONFIG_PATH" ) , long( "config-path" ) , argument( "PATH" ) ) ]
132
132
config_path : Option < PathBuf > ,
133
133
/// Bogus argument to make the command work with vscode-languageclient
@@ -157,14 +157,14 @@ pub enum PgltCommand {
157
157
long( "log-path" ) ,
158
158
argument( "PATH" ) ,
159
159
hide_usage,
160
- fallback( pglt_fs:: ensure_cache_dir( ) . join( "pglsp -logs" ) ) ,
160
+ fallback( pglt_fs:: ensure_cache_dir( ) . join( "pglt -logs" ) ) ,
161
161
) ]
162
162
log_path : PathBuf ,
163
163
164
164
#[ bpaf( long( "stop-on-disconnect" ) , hide_usage) ]
165
165
stop_on_disconnect : bool ,
166
166
/// 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`
168
168
#[ bpaf( env( "PGLSP_CONFIG_PATH" ) , long( "config-path" ) , argument( "PATH" ) ) ]
169
169
config_path : Option < PathBuf > ,
170
170
} ,
@@ -197,7 +197,7 @@ impl PgltCommand {
197
197
}
198
198
// We want force colors in CI, to give e better UX experience
199
199
// 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() {
201
201
// return Some(&ColorsArg::Force);
202
202
// }
203
203
// Normal behaviors
0 commit comments