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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## Unreleased

### Fixed

- **`--json` help names a real field**: it said `--json=id,title`, which is refused; Drive results use `name`, so it
now says `--json=id,name`.

## 0.18.0 — 19.10.2026

### Added
Expand Down
2 changes: 1 addition & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ These options apply to the selected profile and current invocation.
|---|---|
| `-V, --version` | output the version number. |
| `--profile <name>` | explicit Google account profile (alternative to the first word). |
| `--json` | print machine-readable JSON; --json=id,title keeps only those fields. |
| `--json` | print machine-readable JSON; --json=id,name keeps only those fields. |
| `--jsonl` | print machine-readable JSON lines. |
| `--quiet` | suppress optional diagnostics. |
| `--debug` | on failure, show the full error record: cause and stack. |
Expand Down
4 changes: 3 additions & 1 deletion docs/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"configuration",
"---When something goes wrong---",
"troubleshooting",
"security"
"security",
"---Project---",
"changelog"
]
}
2 changes: 1 addition & 1 deletion src/program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const createProgram = (options: ProgramOptions = {}): Command => {
.version(VERSION)
.usage("<profile> [options] <command>")
.option("--profile <name>", "explicit Google account profile (alternative to the first word)")
.option("--json", "print machine-readable JSON; --json=id,title keeps only those fields")
.option("--json", "print machine-readable JSON; --json=id,name keeps only those fields")
.option("--jsonl", "print machine-readable JSON lines")
.option("--quiet", "suppress optional diagnostics")
.option("--debug", "on failure, show the full error record: cause and stack")
Expand Down
Loading