@@ -58,7 +58,7 @@ pub enum PgtCommand {
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 `pglt .jsonc`
61+ /// flag and the `defaultBranch` is not set in your `postgrestools .jsonc`
6262 #[ bpaf( long( "since" ) , argument( "REF" ) ) ]
6363 since : Option < String > ,
6464
@@ -72,7 +72,7 @@ pub enum PgtCommand {
7272 Start {
7373 /// Allows to change the prefix applied to the file name of the logs.
7474 #[ bpaf(
75- env( "PGLT_LOG_PREFIX_NAME " ) ,
75+ env( "PGT_LOG_PREFIX_NAME " ) ,
7676 long( "log-prefix-name" ) ,
7777 argument( "STRING" ) ,
7878 hide_usage,
@@ -83,16 +83,16 @@ pub enum PgtCommand {
8383
8484 /// Allows to change the folder where logs are stored.
8585 #[ bpaf(
86- env( "PGLT_LOG_PATH " ) ,
86+ env( "PGT_LOG_PATH " ) ,
8787 long( "log-path" ) ,
8888 argument( "PATH" ) ,
8989 hide_usage,
9090 fallback( pgt_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 `pglt .jsonc`
95- #[ bpaf( env( "PGLT_LOG_PREFIX_NAME " ) , long( "config-path" ) , argument( "PATH" ) ) ]
94+ /// or a custom directory path to find `postgrestools .jsonc`
95+ #[ bpaf( env( "PGT_LOG_PREFIX_NAME " ) , long( "config-path" ) , argument( "PATH" ) ) ]
9696 config_path : Option < PathBuf > ,
9797 } ,
9898
@@ -109,7 +109,7 @@ pub enum PgtCommand {
109109 LspProxy {
110110 /// Allows to change the prefix applied to the file name of the logs.
111111 #[ bpaf(
112- env( "PGLT_LOG_PREFIX_NAME " ) ,
112+ env( "PGT_LOG_PREFIX_NAME " ) ,
113113 long( "log-prefix-name" ) ,
114114 argument( "STRING" ) ,
115115 hide_usage,
@@ -119,16 +119,16 @@ pub enum PgtCommand {
119119 log_prefix_name : String ,
120120 /// Allows to change the folder where logs are stored.
121121 #[ bpaf(
122- env( "PGLT_LOG_PATH " ) ,
122+ env( "PGT_LOG_PATH " ) ,
123123 long( "log-path" ) ,
124124 argument( "PATH" ) ,
125125 hide_usage,
126126 fallback( pgt_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 `pglt .jsonc`
131- #[ bpaf( env( "PGLT_CONFIG_PATH " ) , long( "config-path" ) , argument( "PATH" ) ) ]
130+ /// or a custom directory path to find `postgrestools .jsonc`
131+ #[ bpaf( env( "PGT_CONFIG_PATH " ) , long( "config-path" ) , argument( "PATH" ) ) ]
132132 config_path : Option < PathBuf > ,
133133 /// Bogus argument to make the command work with vscode-languageclient
134134 #[ bpaf( long( "stdio" ) , hide, hide_usage, switch) ]
@@ -143,7 +143,7 @@ pub enum PgtCommand {
143143 RunServer {
144144 /// Allows to change the prefix applied to the file name of the logs.
145145 #[ bpaf(
146- env( "PGLT_LOG_PREFIX_NAME " ) ,
146+ env( "PGT_LOG_PREFIX_NAME " ) ,
147147 long( "log-prefix-name" ) ,
148148 argument( "STRING" ) ,
149149 hide_usage,
@@ -153,7 +153,7 @@ pub enum PgtCommand {
153153 log_prefix_name : String ,
154154 /// Allows to change the folder where logs are stored.
155155 #[ bpaf(
156- env( "PGLT_LOG_PATH " ) ,
156+ env( "PGT_LOG_PATH " ) ,
157157 long( "log-path" ) ,
158158 argument( "PATH" ) ,
159159 hide_usage,
@@ -164,8 +164,8 @@ pub enum PgtCommand {
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 `pglt .jsonc`
168- #[ bpaf( env( "PGLT_CONFIG_PATH " ) , long( "config-path" ) , argument( "PATH" ) ) ]
167+ /// or a custom directory path to find `postgrestools .jsonc`
168+ #[ bpaf( env( "PGT_CONFIG_PATH " ) , long( "config-path" ) , argument( "PATH" ) ) ]
169169 config_path : Option < PathBuf > ,
170170 } ,
171171 #[ bpaf( command( "__print_socket" ) , hide) ]
0 commit comments