@@ -25,8 +25,8 @@ export const registerTraces = (program: Command) => {
2525 . description ( 'List recent traces for a deployed agent' )
2626 . option ( '--agent <name>' , 'Select specific agent' )
2727 . option ( '--limit <n>' , 'Maximum number of traces to display' , '20' )
28- . option ( '--since <time>' , 'Start time (e.g. 5m, 1h, 2d, ISO 8601, epoch ms)' )
29- . option ( '--until <time>' , 'End time (e.g. now, 1h, ISO 8601, epoch ms)' )
28+ . option ( '--since <time>' , 'Start time — defaults to 12h ago (e.g. 5m, 1h, 2d, ISO 8601, epoch ms)' )
29+ . option ( '--until <time>' , 'End time — defaults to now (e.g. now, 1h, ISO 8601, epoch ms)' )
3030 . action ( async ( cliOptions : TracesListOptions ) => {
3131 requireProject ( ) ;
3232
@@ -97,8 +97,8 @@ export const registerTraces = (program: Command) => {
9797 . description ( 'Download a trace to a JSON file' )
9898 . option ( '--agent <name>' , 'Select specific agent' )
9999 . option ( '--output <path>' , 'Output file path' )
100- . option ( '--since <time>' , 'Start time (e.g. 5m, 1h, 2d, ISO 8601, epoch ms)' )
101- . option ( '--until <time>' , 'End time (e.g. now, 1h, ISO 8601, epoch ms)' )
100+ . option ( '--since <time>' , 'Start time — defaults to 12h ago (e.g. 5m, 1h, 2d, ISO 8601, epoch ms)' )
101+ . option ( '--until <time>' , 'End time — defaults to now (e.g. now, 1h, ISO 8601, epoch ms)' )
102102 . action ( async ( traceId : string , cliOptions : TracesGetOptions ) => {
103103 requireProject ( ) ;
104104
0 commit comments