encoding-tools 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin2txt CHANGED
@@ -272,11 +272,14 @@ function
272
272
  "y";
273
273
  _help_display =
274
274
  false;
275
- if ( "h" in _argv ) {
275
+ console.log(_argv);
276
+ if ( _argv[
277
+ "h"] ) {
276
278
  _help_display =
277
279
  true;
278
280
  }
279
- if ( "help" in _argv ) {
281
+ if ( _argv[
282
+ "help"] ) {
280
283
  _help_display =
281
284
  true;
282
285
  }
@@ -318,6 +321,12 @@ function
318
321
  in_file +
319
322
  ".base64";
320
323
  }
324
+ else {
325
+ out_txt_prefix =
326
+ _argv[
327
+ "_"][
328
+ 1];
329
+ }
321
330
  if ( "L" in _argv ) {
322
331
  string_length =
323
332
  _argv[