summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h
index 59a632e6..5c172ee9 100644
--- a/src/report.h
+++ b/src/report.h
@@ -125,6 +125,10 @@ public:
output_stream.close();
}
+ virtual string description() {
+ return _("current report");
+ }
+
void normalize_options(const string& verb);
void normalize_period();
void parse_query_args(const value_t& args, const string& whence);
@@ -147,6 +151,7 @@ public:
value_t fn_is_seq(call_scope_t& scope);
value_t fn_strip(call_scope_t& scope);
value_t fn_trim(call_scope_t& scope);
+ value_t fn_format(call_scope_t& scope);
value_t fn_print(call_scope_t& scope);
value_t fn_scrub(call_scope_t& scope);
value_t fn_quantity(call_scope_t& scope);
@@ -389,6 +394,7 @@ public:
" ansify_if(partial_account(options.flat), blue if color),"
" bold if should_bold))\n%/"
"%$1\n%/"
+ "%(prepend_width ? \" \" * prepend_width : \"\")"
"--------------------\n");
});
@@ -446,6 +452,7 @@ public:
" %(!options.flat ? depth_spacer : \"\")"
"%-(ansify_if(partial_account(options.flat), blue if color))\n"
"%/%$1 %$2 %$3 %$4\n%/"
+ "%(prepend_width ? \" \" * prepend_width : \"\")"
"------------ ------------ ------------ -----\n");
});
@@ -464,6 +471,7 @@ public:
" %(!options.flat ? depth_spacer : \"\")"
"%-(ansify_if(partial_account(options.flat), blue if color))\n%/"
"%$1 %$2 %$3\n%/"
+ "%(prepend_width ? \" \" * prepend_width : \"\")"
"---------------- ---------------- ---------\n");
});