From 4c357d52818e65f9f1dce98c1c6698b45a916827 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Mon, 8 Jan 2024 12:08:50 -0800 Subject: [PATCH] Added option `maxevents ` to `gam report ` --- docs/GamUpdates.md | 7 +++++++ docs/How-to-Upgrade-from-Standard-GAM.md | 4 ++-- docs/Reports.md | 8 +++++++- docs/Version-and-Help.md | 12 ++++++------ src/GamCommands.txt | 2 +- src/GamUpdate.txt | 7 +++++++ src/gam/__init__.py | 10 ++++++++-- 7 files changed, 38 insertions(+), 12 deletions(-) diff --git a/docs/GamUpdates.md b/docs/GamUpdates.md index cafeafe1..0fc14c1f 100644 --- a/docs/GamUpdates.md +++ b/docs/GamUpdates.md @@ -11,6 +11,13 @@ Add the `-s` option to the end of the above commands to suppress creating the `g See [Downloads](https://github.com/taers232c/GAMADV-XTD3/wiki/Downloads) for Windows or other options, including manual installation +### 6.67.09 + +Added option `maxevents ` to `gam report ` that limits +the number of events displayed for each activity; the default is 0, no limit. +Setting options `maxactivities 1 maxevents 1 maxresults 1` can be used to as efficiently as possible +show the most recent activity/event; this can be useful when reporting drive activity for individual drive files. + ### 6.67.08 Added optional argument `charset ` to `emlfile ` in `gam draft|import|insert message`; diff --git a/docs/How-to-Upgrade-from-Standard-GAM.md b/docs/How-to-Upgrade-from-Standard-GAM.md index 1e494f47..07a79aa5 100644 --- a/docs/How-to-Upgrade-from-Standard-GAM.md +++ b/docs/How-to-Upgrade-from-Standard-GAM.md @@ -334,7 +334,7 @@ writes the credentials into the file oauth2.txt. admin@server:/Users/admin/bin/gamadv-xtd3$ rm -f /Users/admin/GAMConfig/oauth2.txt admin@server:/Users/admin/bin/gamadv-xtd3$ ./gam version WARNING: Config File: /Users/admin/GAMConfig/gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: /Users/admin/GAMConfig/oauth2.txt, Not Found -GAMADV-XTD3 6.67.08 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.67.09 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.10.8 64-bit final MacOS High Sierra 10.13.6 x86_64 @@ -1002,7 +1002,7 @@ writes the credentials into the file oauth2.txt. C:\GAMADV-XTD3>del C:\GAMConfig\oauth2.txt C:\GAMADV-XTD3>gam version WARNING: Config File: C:\GAMConfig\gam.cfg, Section: DEFAULT, Item: oauth2_txt, Value: C:\GAMConfig\oauth2.txt, Not Found -GAMADV-XTD3 6.67.08 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource +GAMADV-XTD3 6.67.09 - https://github.com/taers232c/GAMADV-XTD3 - pythonsource Ross Scroggs Python 3.12.0 64-bit final Windows-10-10.0.17134 AMD64 diff --git a/docs/Reports.md b/docs/Reports.md index 14cea66c..4025f6fb 100644 --- a/docs/Reports.md +++ b/docs/Reports.md @@ -58,7 +58,7 @@ gam report [todrive *] [filtertime.*