Fix the default search paths and documentation (#2093)

This commit is contained in:
itchyny authored and GitHub committed 2023-07-03 09:12:22 +09:00
1 parent 5ae04c0f52
commit 4b5fcb936f
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -3281,8 +3281,8 @@ sections:
For paths starting with `~/`, the user's home directory is
substituted for `~`.
For paths starting with `$ORIGIN/`, the path of the jq executable
is substituted for `$ORIGIN`.
For paths starting with `$ORIGIN/`, the directory where the jq
executable is located is substituted for `$ORIGIN`.
For paths starting with `./` or paths that are `.`, the path of
the including file is substituted for `.`. For top-level programs
+2 -2
View File
@@ -2765,8 +2765,8 @@ sections:
For paths starting with "~/", the user's home directory is
substituted for "~".
For paths starting with "$ORIGIN/", the path of the jq executable
is substituted for "$ORIGIN".
For paths starting with "$ORIGIN/", the directory where the jq
executable is located is substituted for "$ORIGIN".
For paths starting with "./" or paths that are ".", the path of
the including file is substituted for ".". For top-level programs
+2 -2
View File
@@ -3150,8 +3150,8 @@ sections:
For paths starting with "~/", the user's home directory is
substituted for "~".
For paths starting with "$ORIGIN/", the path of the jq executable
is substituted for "$ORIGIN".
For paths starting with "$ORIGIN/", the directory where the jq
executable is located is substituted for "$ORIGIN".
For paths starting with "./" or paths that are ".", the path of
the including file is substituted for ".". For top-level programs
+1 -1
View File
@@ -592,7 +592,7 @@ int main(int argc, char* argv[]) {
// Default search path list
lib_search_paths = JV_ARRAY(jv_string("~/.jq"),
jv_string("$ORIGIN/../lib/jq"),
jv_string("$ORIGIN/lib"));
jv_string("$ORIGIN/../lib"));
}
jq_set_attr(jq, jv_string("JQ_LIBRARY_PATH"), lib_search_paths);