cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

[A11316] Unexpected argument: -current

AndyEsslinger
1-Visitor

[A11316] Unexpected argument: -current

I wanted to look at the document declaration and I remember doing it before by using the edit command. The Arbortext help specifies:

edit [-newwindow | -ok] [-readonly] [-xml | -untaggedascii] [-encoding string]
[-cc | -nocc] [-stylesheet name] [-catalog dir] [filename | -last | -current]
but when I enter "edit -untaggedascii -current" at the command line I get error message [A11316] Unexpected argument: -current

[cid:image001.png@01CB7CD8.E68BC190]

Can someone tell me what I am missing here?

Thanks,
-Andy

[cid:image002.jpg@01CB7CD8.E68BC190]Andy Esslinger LM Aero Tech Order Data
(817) 279-0442 1 Lockheed Blvd. MZ 4285
(817) 777-3047 Fort Worth TX 76108

5 REPLIES 5

Hi Andy-



I wonder if somewhere in your customizations they are redefining the
"edit" command. You might try "show aliases" to see if there's something
there that hijacks the "edit" command to something else that only takes
one argument.



--Clay


I use this a lot, and I'm not getting any errors returned. What version
are you on?


Version 5.3m040


[cid:image001.jpg@01CB7CDB.767DA960]Andy Esslinger LM Aero Tech Order Data
(817) 279-0442 1 Lockheed Blvd. MZ 4285
(817) 777-3047 Fort Worth TX 76108

I would check on Clay's suggestion; We're using the exact same version
(stupid inline-spell-check "fix") and I'm not having issues with those
switches.



-Jason


Clay, Jason,

Thanks for the info and the hint, but I looked at "show aliases" and I don't see anything. There are no aliases set unless Arbortext set them.

My setup is out-of-box installation with the following customizations:

* a custom.tmx file in the custom\inputs directory to enforce table top/bottom rules and turn off ligatures.

* pubview.cf in the custom\pubview directory to change magbase to 1040.

* feature.cf in the custom\lib directory to set featurePrintPublishing=on and everything else off.

Ahah!! I tried it on a different computer and it worked as expected. I seem to have a corrupt Editor installation.

Reinstall time.

Thanks,
-Andy
[cid:image002.jpg@01CB7CDC.7F3C78F0]Andy Esslinger LM Aero Tech Order Data
(817) 279-0442 1 Lockheed Blvd. MZ 4285
(817) 777-3047 Fort Worth TX 76108
Announcements

Top Tags