anchor.diff:  % help
   cmd(_, []) ->
       % print usage
  -    ?P("~nThis command helps to take backup of in memory IMEM tables.~n"),
  +    ?P("~nThe command ~s supports two classes of sub commands 'snap' and 'log'.~n", [?SCRIPT]),
  +    ?P("~n'log' helps to manage lager interface if used my host application.~n"),
  +    ?P("~n'snap' helps to take backup of in memory IMEM tables.~n"),
       ?P("A .bkp file is created for a regular backup in the snapshot~n"),
       ?P("folder as configured for the installed rpm. The existing or~n"),
       ?P("or a subset of .bkp files can also be bundled into a .zip file.~n"),
  
positive.code:     ?P("            table are added/appended.~n"),
      ?P("'none'      no delete or replace, only new rows are added/appended.~n"),
      ?P("~nExamples:~n"),
      ?P("    list information about the current .bkp files~n"),
      ?P("    ~*s info~n", ?PADARG),
      ?P("    list information about the current .zip files~n"),
      ?P("    ~*s info zip~n", ?PADARG),
      ?P("~n    create .bkp files for all tables in IMEM DB~n"),
      ?P("    ~*s take~n", ?PADARG),
      ?P("    create .bkp files for tables table1 table2 etc~n"),
      ?P("    ~*s take table1 table2~n", ?PADARG),
      ?P("    create .bkp files for tables matching table name patterns~n"),
      ?P("    tab.* and tbl.*~n"),
      ?P("    ~*s take tab.* tbl.*~n", ?PADARG),
      ?P("~n    bundle all .bkp to .zip~n"),
      ?P("    ~*s zip~n", ?PADARG),
      ?P("    bundle table1.bkp, table2.bkp files to .zip~n"),
      ?P("    ~*s zip table1 table2~n", ?PADARG),
      ?P("    bundle .bkp files matching name pattern tab.* to .zip~n"),
      ?P("    ~*s zip re tab.*~n", ?PADARG),
      ?P("~n    simulate restore of all bkp files into IMEM DB~n"),
      ?P("    ~*s restore bkp simulate~n", ?PADARG),
      ?P("    simulate restore all from snapshot_YYYYMMDD_HHMMSS.mmm.zip~n"),
      ?P("    ~*s restore zip simulate snapshot_YYYYMMDD_HHMMSS.mmm.zip~n", ?PADARG),
      ?P("    restore all .bkp files into IMEM DB~n"),
      ?P("    ~*s restore bkp destroy~n", ?PADARG),
      ?P("    restore of tabel1.bkp into IMEM DB~n"),
      ?P("    ~*s restore bkp destroy table1~n", ?PADARG),
      ?P("    replace-appned from tabel1.bkp into IMEM DB~n"),
      ?P("    ~*s restore bkp replace table1~n", ?PADARG),
      ?P("    only appned new rows from tabel1.bkp into IMEM DB~n"),
      ?P("    ~*s restore bkp none table1~n", ?PADARG),
      ?P("    restore all from .zip~n"),
      ?P("    ~*s restore zip destroy snapshot_YYYYMMDD_HHMMSS.mmm.zip~n", ?PADARG),
      ?P("    replace-appned all tables from .zip~n"),
      ?P("    ~*s restore zip replace snapshot_YYYYMMDD_HHMMSS.mmm.zip~n", ?PADARG),
      ?P("    only appned new rows of all tables from .zip~n"),
      ?P("    ~*s restore zip replace snapshot_YYYYMMDD_HHMMSS.mmm.zip~n", ?PADARG),
      ?P("    restore tabe1, table2 from .zip~n"),
      ?P("    ~*s restore zip destroy snapshot_YYYYMMDD_HHMMSS.mmm.zip table1 table2~n", ?PADARG),
      ?P("    replace and appned rows of tabe1 and table2 from .zip~n"),
      ?P("    ~*s restore zip replace snapshot_YYYYMMDD_HHMMSS.mmm.zip tabe1 and table2~n", ?PADARG),
      ?P("    only appned new rows of tabe1 and table2 from .zip~n"),
      ?P("    ~*s restore zip replace snapshot_YYYYMMDD_HHMMSS.mmm.zip tabe1 and table2~n", ?PADARG),
      ?P("~n");
  
  % print snap info
  cmd(Node, ["snap", "info"]) ->
  
negative.code:     ?P("Tables data can also be restored from these .bkp and .zip files~n"),
      ?P("using extensive 'restore' command with various option.~n"),
      ?P("See the Examples section below the usage for some usecases.~n"),
      ?P("~nUsage:"),
      ?P("~n       ~s log [id] [level]~n", [?SCRIPT]),
      ?P("~n       ~s snap info [zip]~n", [?SCRIPT]),
      ?P("       ~*s      take [_regex1_, _regex2_ ...]~n", ?PADARG),
      ?P("       ~*s      zip [re _pattern_]~n", ?PADARG),
      ?P("       ~*s          [table_name1, ...]~n", ?PADARG),
  